Skip to content

Commit

Permalink
update ci cache
Browse files Browse the repository at this point in the history
  • Loading branch information
awnion committed Sep 19, 2023
1 parent b909964 commit 9974fa3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@ jobs:
uses: actions/cache@v3
with:
# IMPORTANT: path here should be relative to the workspace directory
path: .result
key: result-${{ matrix.bin }}
path: |
.result
${{ matrix.dir }}/target
key: builder-${{ runner.os }}-result-${{ matrix.bin }}

- name: Check if can use cache
if: matrix.cache
Expand Down Expand Up @@ -170,8 +172,8 @@ jobs:
CARGO_NET_RETRY: 10
RUST_BACKTRACE: full
RUSTUP_MAX_RETRIES: 10

run: |
cargo update
cargo zigbuild -r --target ${{ matrix.target }}
ls -lA target/${{ matrix.target }}/release
Expand Down

0 comments on commit 9974fa3

Please sign in to comment.