Skip to content

Commit

Permalink
only cache .wasm files
Browse files Browse the repository at this point in the history
  • Loading branch information
flrgh committed Jan 27, 2025
1 parent 52c59c7 commit dc5af06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build-wasm-test-filters/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
shell: bash
env:
FILE_HASH: ${{ hashFiles(env.WASM_FILTER_CARGO_LOCK, format('{0}/**/*.rs', env.WASM_FILTER_PATH)) }}
CACHE_VERSION: "5"
CACHE_VERSION: "6"
RUNNER_OS: ${{ runner.os }}
run: |
CACHE_PREFIX="wasm-test-filters::v${CACHE_VERSION}::${RUNNER_OS}::${WASM_FILTER_TARGET}::"
Expand All @@ -35,7 +35,7 @@ runs:
uses: actions/cache/restore@v4
id: restore-cache
with:
path: ${{ env.WASM_FILTER_PATH }}/target
path: ${{ env.WASM_FILTER_PATH }}/target/**/*.wasm
key: ${{ env.WASM_CACHE_KEY }}

- name: Install Rust Toolchain
Expand Down Expand Up @@ -64,7 +64,7 @@ runs:
id: save-cache
uses: actions/cache/save@v4
with:
path: ${{ env.WASM_FILTER_PATH }}/target
path: ${{ env.WASM_FILTER_PATH }}/target/**/*.wasm
key: ${{ env.WASM_CACHE_KEY }}

- name: Create a symlink to the target directory
Expand Down

0 comments on commit dc5af06

Please sign in to comment.