diff options
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..38f327ec5 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 }} -y + else + tar -C ~/cache/${{ inputs.toolchain }} -xaf toolchain.tar.gz + endif shell: bash - name: Set Toolchain Path |
