Skip to content

Commit

Permalink
ci: do not use cache on a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Sep 29, 2021
1 parent 4c4c1c3 commit dc19b36
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,8 @@ jobs:
run: rustup target add wasm32-unknown-unknown

- name: Cache cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
if: startsWith(github.ref, 'refs/tags/') != true
uses: Swatinem/rust-cache@v1

- name: Build debug
if: matrix.config.kind == 'test_debug'
Expand Down

0 comments on commit dc19b36

Please sign in to comment.