Skip to content

Commit

Permalink
ci 4
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed May 13, 2024
1 parent f345e90 commit a90a9a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/actions/setup_toolchain/espressif/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@ runs:
uses: actions/cache@v4
id: cache-toolchain-espressif
with:
path: $DOCKER_IMAGE
path: $${ env.DOCKER_IMAGE }}
key: ${{ runner.os }}-${{ inputs.toolchain }}-${{ inputs.toolchain_url }}

- name: Load Docker Image
if: steps.cache-toolchain-espressif.outputs.cache-hit == 'true'
run: |
du -sh $DOCKER_IMAGE
docker load --input $DOCKER_IMAGE
docker images
shell: bash

- name: Pull and Save Docker Image
Expand All @@ -36,5 +35,4 @@ runs:
mkdir -p ~/cache/${{ inputs.toolchain }}
docker save -o $DOCKER_IMAGE espressif/idf:${{ inputs.toolchain_url }}
du -sh $DOCKER_IMAGE
docker images
shell: bash

0 comments on commit a90a9a9

Please sign in to comment.