Skip to content

Commit

Permalink
bump github action cache to v4 (#8199)
Browse files Browse the repository at this point in the history
We want to [migrate off GH actions/cache v1 by Feb 1
2025](actions/toolkit#1890). That's soon!

To test that using `actions/cache@v4` works, I
1.  edited `pr.yaml` to add a *Mount Bazel Cache* step
2. saw a PR build run successfully on an empty cache
3. pushed a no-op commit and saw the next PR build fetch the cache and
succeed

If it really is that simple I'll do the same thing for the internal
repo.
  • Loading branch information
dan-stowell authored Jan 16, 2025
1 parent 3567984 commit 4df1ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v3

- name: Mount Bazel cache
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: "/home/runner/repo-cache/"
key: repo-cache
Expand Down

0 comments on commit 4df1ecb

Please sign in to comment.