Skip to content

Commit

Permalink
TMP
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasdewally committed Nov 4, 2023
1 parent 300701e commit ca7f46a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
version: [nightly,stable]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: "Regenerate Caches ($${{ matrix.version }}, ${{ runner.os }}"
name: "Regenerate Caches (${{ matrix.version }}, ${{ runner.os }})"
steps:
- name: Checkout the repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -39,10 +39,10 @@ jobs:
- name: Install rust ${{ matrix.version }}
run: rustup update ${{ matrix.version }} && rustup default ${{ matrix.version }}

- run : cargo build --workspace
- run: cargo build --workspace

- name: Delete cache if it already exists, so we can overwrite it
- run: |
run: |
gh cache delete "${{ matrix.version }}-${{ runner.os }}-gitmodules-${{ steps.cache-vars.outputs.submodule_sha }}-cargo-${{ hashFiles('**/Cargo.lock') }}"
# always succeed even if cache does not exist
true
Expand Down

0 comments on commit ca7f46a

Please sign in to comment.