Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Commit

Permalink
Change .github workflow cache keys (for cache reset)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbat00 committed Aug 2, 2020
1 parent 11358ae commit a6fadc0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/check_game.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: cache-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
${{ runner.os }}-cargo
cache-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
cache-${{ runner.os }}-cargo
- name: Install Ubuntu dependencies
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get install gcc pkg-config openssl libasound2-dev cmake build-essential python3 libfreetype6-dev libexpat1-dev libxcb-composite0-dev libssl-dev libx11-dev
Expand Down Expand Up @@ -97,10 +97,10 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: cache-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
${{ runner.os }}-cargo
cache-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
cache-${{ runner.os }}-cargo
- uses: actions-rs/cargo@v1
with:
command: clippy
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_game.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: cache-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
${{ runner.os }}-cargo
cache-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
cache-${{ runner.os }}-cargo
- name: Install Ubuntu dependencies
if: ${{ matrix.os == 'ubuntu-latest' }}
Expand Down

0 comments on commit a6fadc0

Please sign in to comment.