Skip to content

Commit

Permalink
Add rust-cache action and use locked flag in cargo build
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchinchilla committed Nov 7, 2024
1 parent c9e07d7 commit afa5619
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ jobs:
toolchain: stable-i686-pc-windows-msvc
profile: minimal
default: true
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --release
run: cargo build --release --locked
env:
CARGO_NET_GIT_FETCH_WITH_CLI: true
- name: Move built files
Expand Down

0 comments on commit afa5619

Please sign in to comment.