Skip to content

Commit

Permalink
chore(cd): degrade actions/cache from v4 to v3 (Kong#12816)
Browse files Browse the repository at this point in the history
KAG-4155

actions/cache@v4 breaks on old distros like centos7 and amazonlinux2

Co-authored-by: Qi <[email protected]>
  • Loading branch information
fffonion and ADD-SP authored Apr 22, 2024
1 parent a22d696 commit 5d94f9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
- name: Cache Git
id: cache-git
if: (matrix.package == 'rpm' || matrix.image == 'debian:10') && matrix.image != ''
uses: actions/cache@v4
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3, DO NOT BUMP, v4 BREAKS ON CENTOS7 OR AMAZONLINUX2
with:
path: /usr/local/git
key: ${{ matrix.label }}-git-2.41.0
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
- name: Cache Packages
id: cache-deps
if: env.GHA_CACHE == 'true'
uses: actions/cache@v4
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3, DO NOT BUMP, v4 BREAKS ON CENTOS7 OR AMAZONLINUX2
with:
path: bazel-bin/pkg
key: ${{ steps.cache-key.outputs.cache-key }}
Expand Down

0 comments on commit 5d94f9a

Please sign in to comment.