diff options
| author | Ha Thach <[email protected]> | 2024-08-09 22:45:35 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-09 22:45:35 +0700 |
| commit | ea64dd4999618ce14aea90118ee9218b4aefeba6 (patch) | |
| tree | 2dcf144ac2638ac313569258d99d6d5eb6540b28 /.github/actions/setup_toolchain/espressif | |
| parent | 643a26ca8dff6893912a029eeda57219d6cc424b (diff) | |
Update ci toolchain (#2758)
* move toolchain url to its setup action
Diffstat (limited to '.github/actions/setup_toolchain/espressif')
| -rw-r--r-- | .github/actions/setup_toolchain/espressif/action.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/actions/setup_toolchain/espressif/action.yml b/.github/actions/setup_toolchain/espressif/action.yml index 46da02911..3129329dd 100644 --- a/.github/actions/setup_toolchain/espressif/action.yml +++ b/.github/actions/setup_toolchain/espressif/action.yml @@ -4,7 +4,7 @@ inputs: toolchain: description: 'Toolchain name' required: true - toolchain_url: + toolchain_version: description: 'Toolchain URL or version' required: true @@ -22,14 +22,14 @@ runs: id: cache-toolchain-espressif with: path: ${{ env.DOCKER_ESP_IDF }} - key: ${{ inputs.toolchain }}-${{ inputs.toolchain_url }} + key: ${{ inputs.toolchain }}-${{ inputs.toolchain_version }} - name: Pull and Save Docker Image if: steps.cache-toolchain-espressif.outputs.cache-hit != 'true' run: | - docker pull espressif/idf:${{ inputs.toolchain_url }} + docker pull espressif/idf:${{ inputs.toolchain_version }} mkdir -p $(dirname $DOCKER_ESP_IDF) - docker save -o $DOCKER_ESP_IDF espressif/idf:${{ inputs.toolchain_url }} + docker save -o $DOCKER_ESP_IDF espressif/idf:${{ inputs.toolchain_version }} du -sh $DOCKER_ESP_IDF shell: bash |
