Skip to content

Commit

Permalink
Evaluate CI caching save-if conditions (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
neysofu authored and preston-evans98 committed Sep 14, 2023
1 parent 92ea888 commit 33c984a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
shared-key: cargo-check
save-if: github.ref == 'refs/heads/nightly'
save-if: ${{ github.ref == 'refs/heads/nightly' }}
workspaces: |
.
examples/demo-prover
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
shared-key: cargo-check
save-if: github.ref == 'refs/heads/nightly'
save-if: ${{ github.ref == 'refs/heads/nightly' }}
workspaces: |
.
examples/demo-prover
Expand All @@ -117,7 +117,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
shared-key: cargo-build
save-if: github.ref == 'refs/heads/nightly'
save-if: ${{ github.ref == 'refs/heads/nightly' }}
workspaces: |
.
examples/demo-prover
Expand All @@ -139,7 +139,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
shared-key: cargo-build
save-if: github.ref == 'refs/heads/nightly'
save-if: ${{ github.ref == 'refs/heads/nightly' }}
workspaces: |
.
examples/demo-prover
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: Swatinem/rust-cache@v2
with:
save-if: github.ref == 'refs/heads/nightly'
save-if: ${{ github.ref == 'refs/heads/nightly' }}
workspaces: |
.
examples/demo-prover
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov
- uses: Swatinem/rust-cache@v2
with:
save-if: github.ref == 'refs/heads/nightly'
save-if: ${{ github.ref == 'refs/heads/nightly' }}
workspaces: |
.
examples/demo-prover
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
shared-key: cargo-check
save-if: github.ref == 'refs/heads/nightly'
save-if: ${{ github.ref == 'refs/heads/nightly' }}
workspaces: |
.
examples/demo-prover
Expand Down

0 comments on commit 33c984a

Please sign in to comment.