Skip to content

Commit 0d8ca03

Browse files
authored
Merge pull request #140 from PrestaShop/fix-cache-gh-actions
Upgraded actions/cache version
2 parents 6476a62 + 3cc6e8f commit 0d8ca03

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
node-version: ${{ matrix.node }}
2626

2727
- name: Cache node_modules 📦
28-
uses: actions/cache@v2
28+
uses: actions/cache@v4
2929
with:
3030
path: ~/.npm
3131
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ jobs:
3636
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
3737

3838
- name: Cache Composer Directory 📦
39-
uses: actions/cache@v2
39+
uses: actions/cache@v4
4040
with:
4141
path: ${{ steps.composer-cache.outputs.dir }}
4242
key: ubuntu-latest-composer-${{ hashFiles('**/composer.lock') }}
4343
restore-keys: |
4444
ubuntu-latest-composer-
45-
45+
4646
- name: Cache node_modules 📦
47-
uses: actions/cache@v2
47+
uses: actions/cache@v4
4848
with:
4949
path: ~/.npm
5050
key: ubuntu-latest-node-${{ hashFiles('**/package-lock.json') }}
@@ -68,7 +68,7 @@ jobs:
6868
- name: Move file 📁
6969
if: ${{ github.event_name == 'release' || github.event_name == 'schedule' }}
7070
run: mv contributors.js ./dist
71-
71+
7272
- name: Write CNAME file
7373
run: echo 'contributors.prestashop-project.org' > ./dist/CNAME
7474

0 commit comments

Comments
 (0)