Skip to content

Commit

Permalink
fix release cache: it never saved because Cargo.lock updated each time
Browse files Browse the repository at this point in the history
  • Loading branch information
acheronfail committed Nov 18, 2023
1 parent fae141b commit fae154b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ jobs:
~/.cargo/git/db/
~/.cargo/.crates.toml
~/.cargo/.crates2.json
target/
key: ${{ runner.os }}-cargo-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-${{ matrix.target }}
# install rust
- run: rustup show && rustup target add ${{ matrix.target }}
# install dependencies
Expand Down

0 comments on commit fae154b

Please sign in to comment.