Skip to content

Commit 59260d7

Browse files
Chiu PeterChiu Peter
authored andcommitted
modify actions/cache to v4
1 parent 4b133bb commit 59260d7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/jest_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/setup-python@v1
3232
with:
3333
python-version: 3.7
34-
- uses: actions/cache@v1
34+
- uses: actions/cache@v4
3535
with:
3636
path: ~/.npm
3737
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/publish-npm-manual.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v2
2424
with:
2525
ref: main
2626
- name: Set up Python 3.7
27-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@v1
2828
with:
2929
python-version: 3.7
30-
- uses: actions/setup-node@v4
30+
- uses: actions/setup-node@v1
3131
env:
3232
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3333
with:

.github/workflows/publish-npm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout code
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v2
1212
with:
1313
ref: main
1414
- name: Set up Python 3.7
15-
uses: actions/setup-python@v4
15+
uses: actions/setup-python@v1
1616
with:
1717
python-version: 3.7
18-
- uses: actions/setup-node@v4
18+
- uses: actions/setup-node@v1
1919
env:
2020
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2121
with:

0 commit comments

Comments
 (0)