diff options
| author | hathach <[email protected]> | 2024-05-21 12:49:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-05-21 13:04:56 +0700 |
| commit | 4e24ec5e5d19f47748a13d5d4849a56c4ff7ba87 (patch) | |
| tree | 54da036483c79f17b0ab296bf1533c9449af7355 /.github/actions/setup_toolchain | |
| parent | c2cfb71dce4d514ff79ec98af46984b543c6f49e (diff) | |
circle ci skip cache for toolchain
action skip cache for toolchain url hosted by github
Diffstat (limited to '.github/actions/setup_toolchain')
| -rw-r--r-- | .github/actions/setup_toolchain/download/action.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/actions/setup_toolchain/download/action.yml b/.github/actions/setup_toolchain/download/action.yml index 0b35bddb1..2af456ef8 100644 --- a/.github/actions/setup_toolchain/download/action.yml +++ b/.github/actions/setup_toolchain/download/action.yml @@ -12,6 +12,7 @@ runs: using: "composite" steps: - name: Cache Toolchain + if: ${{ !startsWith(inputs.toolchain_url, 'https://github.com') }} uses: actions/cache@v4 id: cache-toolchain-download with: @@ -22,7 +23,7 @@ runs: if: steps.cache-toolchain-download.outputs.cache-hit != 'true' run: | mkdir -p ~/cache/${{ inputs.toolchain }} - wget --progress=dot:mega ${{ inputs.toolchain_url }} -O toolchain.tar.gz + wget --progress=dot:giga ${{ inputs.toolchain_url }} -O toolchain.tar.gz tar -C ~/cache/${{ inputs.toolchain }} -xaf toolchain.tar.gz shell: bash |
