Skip to content

Commit

Permalink
Update actions/cache action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored May 17, 2024
1 parent 576f998 commit 3ff27a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
# * For subsequent builds of a PR, the first restore key, e.g.,
# "pip-refs/pull/###/merge-" should match the most recently saved PR key
# "pip-refs/pull/###/merge-####-#".
- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
with:
path: ~/.cache/pip
# N.B. The "-mumble" suffix below will never match; it's a placeholder
Expand All @@ -60,7 +60,7 @@ jobs:
restore-keys: |
pip-${{ github.ref }}-
pip-refs/heads/main-
- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
with:
path: ~/.cache/bazel_ci
key: bazel_ci-${{ github.ref }}-${{ github.run_number }}-${{ github.run_attempt }}
Expand All @@ -80,12 +80,12 @@ jobs:
# By default, actions/cache only saves after a successful workflow, but
# our caches are bags of files where we only ever add new files (not change
# an existing files), so it's always safe to snapshot.
- uses: actions/cache/save@v3
- uses: actions/cache/save@v4
if: always()
with:
path: ~/.cache/pip
key: pip-${{ github.ref }}-${{ github.run_number }}-${{ github.run_attempt }}
- uses: actions/cache/save@v3
- uses: actions/cache/save@v4
if: always()
with:
path: ~/.cache/bazel_ci
Expand Down

0 comments on commit 3ff27a8

Please sign in to comment.