Skip to content

Commit

Permalink
CI: Use v4 of cache actions
Browse files Browse the repository at this point in the history
GitHub Actions warns us that v3 of this action uses a deprecated version
of Node.js.  Upgrading to v4 fixes this issue, and there are no
documented compatibility issues between the two versions.  This patch
upgrades all cache actions to v4 from v3.

Signed-off-by: Patrick M. Niedzielski <[email protected]>
  • Loading branch information
pniedzielski committed Jul 11, 2024
1 parent d0df0b6 commit b384763
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Try to get cached BlazingMQ build artifacts
id: cache-restore
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: blazingmq_artifacts.tar.gz
key: ${{ steps.get-sha.outputs.blazingmq_sha }}
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
- name: Cache built BlazingMQ build artifacts
id: cache-save
if: steps.cache-restore.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: blazingmq_artifacts.tar.gz
key: ${{ steps.get-sha.outputs.blazingmq_sha }}
Expand All @@ -97,7 +97,7 @@ jobs:
- uses: actions/checkout@v4
- name: Try to get cached BlazingMQ build artifacts
id: cache-restore
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: blazingmq_artifacts.tar.gz
key: ${{ needs.blazingmq-dependency.outputs.blazingmq_sha }}
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
- uses: actions/checkout@v4
- name: Try to get cached BlazingMQ build artifacts
id: cache-restore
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: blazingmq_artifacts.tar.gz
key: ${{ needs.blazingmq-dependency.outputs.blazingmq_sha }}
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
- uses: actions/checkout@v4
- name: Try to get cached BlazingMQ build artifacts
id: cache-restore
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: blazingmq_artifacts.tar.gz
key: ${{ needs.blazingmq-dependency.outputs.blazingmq_sha }}
Expand Down

0 comments on commit b384763

Please sign in to comment.