Skip to content

Commit

Permalink
Update to latest version of actions/cache (#288)
Browse files Browse the repository at this point in the history
`actions/cache@v2` has been deprecated by GitHub and will be removed in
a couple months.
  • Loading branch information
garyp authored Dec 31, 2024
1 parent b9aa906 commit 247e2ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: gradle/wrapper-validation-action@v1

- name: Cache gradle
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:

steps:
- name: Cache protobuf conformance-test-runner ${{ env.PROTOBUF_CONFORMANCE_VERSION }}
uses: actions/cache@v2
uses: actions/cache@v4
id: cache-protobuf
with:
path: |
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
node-version: ${{ env.NODEJS_VERSION }}

- name: Cache protobuf conformance-test-runner ${{ env.PROTOBUF_CONFORMANCE_VERSION }}
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
conformance-test-runner/conformance_test_runner
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
path: ~/.m2/repository

- name: Cache gradle
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
uses: gradle/wrapper-validation-action@v1

- name: Cache gradle
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand Down

0 comments on commit 247e2ad

Please sign in to comment.