Skip to content

Commit

Permalink
dont save target dir in cache
Browse files Browse the repository at this point in the history
  • Loading branch information
aggyomfg committed Apr 20, 2024
1 parent 8e2086d commit f56447b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:
path: |
~/.cargo
~/.rustup
target
key: rust-${{ hashFiles('**/Cargo.lock') }}
key: toolchain-x86_64-unknown-linux-gnu-${{ hashFiles('**/Cargo.lock') }}

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -72,8 +71,7 @@ jobs:
path: |
~/.cargo
~/.rustup
target
key: rust-${{ hashFiles('**/Cargo.lock') }}-${{ matrix.target }}
key: toolchain-${{ matrix.target }}-${{ hashFiles('**/Cargo.lock') }}

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit f56447b

Please sign in to comment.