diff options
| author | HiFiPhile <[email protected]> | 2024-07-28 11:59:52 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-07-28 11:59:52 +0200 |
| commit | f48a4567a6f97c6f814ad6cd3de544bcce42e585 (patch) | |
| tree | 2b5e4d18f4d1ac827f97531db6729ecb13583189 /.github/actions/setup_toolchain | |
| parent | b0f5422262a26fb1ab496e33bb8009efb6660788 (diff) | |
| parent | cfbdc44a8d099240ad5ef208bd639487c2f28153 (diff) | |
Merge branch 'master' of https://github.com/hathach/tinyusb into rx_fb
Diffstat (limited to '.github/actions/setup_toolchain')
| -rw-r--r-- | .github/actions/setup_toolchain/download/action.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/actions/setup_toolchain/download/action.yml b/.github/actions/setup_toolchain/download/action.yml index 2af456ef8..813197208 100644 --- a/.github/actions/setup_toolchain/download/action.yml +++ b/.github/actions/setup_toolchain/download/action.yml @@ -24,7 +24,13 @@ runs: run: | mkdir -p ~/cache/${{ inputs.toolchain }} wget --progress=dot:giga ${{ inputs.toolchain_url }} -O toolchain.tar.gz - tar -C ~/cache/${{ inputs.toolchain }} -xaf toolchain.tar.gz + if [[ ${{ inputs.toolchain }} == rx-gcc ]]; then + mv toolchain.tar.gz toolchain.run + chmod +x toolchain.run + ./toolchain.run -p ~/cache/${{ inputs.toolchain }}/gnurx -y + else + tar -C ~/cache/${{ inputs.toolchain }} -xaf toolchain.tar.gz + fi shell: bash - name: Set Toolchain Path |
