Skip to content

Commit

Permalink
use binaryen in cache key
Browse files Browse the repository at this point in the history
Signed-off-by: Kingdon Barrett <kingdon@weave.works>
  • Loading branch information
Kingdon Barrett committed Oct 23, 2023
1 parent d0c0184 commit caaaf17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ jobs:
if: "${{ github.event.inputs.dockerTarget != 'base' }}"
with:
path: "/home/runner/.local/bin"
key: ${{ runner.os }}-wabt_${{ env.WABT_VERSION }}
key: ${{ runner.os }}-wabt_${{ env.WABT_VERSION }}-binaryen_${{ env.BINARYEN_VERSION }}

- name: Cache (binaries) wasm-opt, wasm-strip, stat.wasm
uses: actions/cache@v3
id: cache
if: "${{ github.event.inputs.dockerTarget == 'base' }}"
with:
path: "/home/runner/.local/bin"
key: ${{ runner.os }}-wabt_${{ env.WABT_VERSION }}
key: ${{ runner.os }}-wabt_${{ env.WABT_VERSION }}-binaryen_${{ env.BINARYEN_VERSION }}

- name: Install wabt, binaryen
uses: kingdonb/setup-wabt@v1.0.5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ jobs:
if: "${{ github.event.inputs.dockerTarget != 'base' }}"
with:
path: "/home/runner/.local/bin"
key: ${{ runner.os }}-wabt_${{ env.WABT_VERSION }}
key: ${{ runner.os }}-wabt_${{ env.WABT_VERSION }}-binaryen_${{ env.BINARYEN_VERSION }}

- name: Cache (binaries) wasm-opt, wasm-strip, stat.wasm
uses: actions/cache@v3
id: cache
if: "${{ github.event.inputs.dockerTarget == 'base' }}"
with:
path: "/home/runner/.local/bin"
key: ${{ runner.os }}-wabt_${{ env.WABT_VERSION }}
key: ${{ runner.os }}-wabt_${{ env.WABT_VERSION }}-binaryen_${{ env.BINARYEN_VERSION }}

- name: Install wabt, binaryen
uses: kingdonb/setup-wabt@v1.0.5
Expand Down

0 comments on commit caaaf17

Please sign in to comment.