Skip to content

Commit

Permalink
Workaround for restoring cache from action/cache getting corrupted
Browse files Browse the repository at this point in the history
  • Loading branch information
zonyitoo committed Aug 22, 2020
1 parent 1bb92d3 commit e88a536
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,17 @@ jobs:

steps:
- uses: actions/checkout@v2
# - uses: actions/cache@v2
# with:
# path: |
# ~/.cargo/registry
# ~/.cargo/git
# target
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install GNU tar
run: |
brew install gnu-tar
echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin"
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --features "aes-pmac-siv local-redir" --verbose
- name: Run tests
Expand Down

0 comments on commit e88a536

Please sign in to comment.