Skip to content

Commit

Permalink
trying another caching fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Steurer <andrew.steurer@fermyon.com>
  • Loading branch information
asteurer committed Jul 12, 2024
1 parent 38b1332 commit d5aad5c
Showing 1 changed file with 5 additions and 23 deletions.
28 changes: 5 additions & 23 deletions .github/workflows/build-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,30 +27,12 @@ jobs:
uses: rajatjindal/setup-actions/tinygo@v0.0.1
with:
version: "v0.32.0"

- name: cofiguring rust toolchain version
run: rustup toolchain install stable --profile minimal

- name: Cache Cargo registry
uses: actions/cache@v3
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/*.rs') }}
restore-keys: |
${{ runner.os }}-cargo-registry-
- name: Cache Cargo index
uses: actions/cache@v3
with:
path: ~/.cargo/index
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/*.rs') }}
restore-keys: |
${{ runner.os }}-cargo-index-
- name: Cache Cargo build
uses: actions/cache@v3
with:
path: target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/*.rs') }}
restore-keys: |
${{ runner.os }}-cargo-build-
- name: setting up the cache
uses: Swatinem/rust-cache@v2

- name: install wkg
run: cargo install --git https://github.com/bytecodealliance/wasm-pkg-tools wkg --locked --config net.git-fetch-with-cli=true
Expand Down

0 comments on commit d5aad5c

Please sign in to comment.