Skip to content

Commit 99f0c03

Browse files
committed
upgrading action github scripts
1 parent 3a2ea07 commit 99f0c03

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010
strategy:
1111
matrix:
1212
node:
13-
- 14.x
13+
- 18.x
1414

1515
runs-on: ubuntu-20.04
1616
name: Node.js ${{ matrix.node }}
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919

2020
- name: Use Node.js ${{ matrix.node }}
21-
uses: actions/setup-node@v2
21+
uses: actions/setup-node@v3
2222
with:
2323
node-version: ${{ matrix.node }}
24-
- uses: actions/cache@v2
24+
- uses: actions/cache@v3
2525
with:
2626
path: ~/.npm
2727
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [14.x]
15+
node-version: [18.x]
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1818
- name: Use Node.js ${{ matrix.node-version }}
19-
uses: actions/setup-node@v1
19+
uses: actions/setup-node@v3
2020
with:
2121
node-version: ${{ matrix.node-version }}
22-
- uses: actions/cache@v2
22+
- uses: actions/cache@v3
2323
with:
2424
path: ~/.npm
2525
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2626
restore-keys: |
2727
${{ runner.os }}-node-
2828
- name: Set output
2929
id: vars
30-
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
30+
run: echo name=tag::${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
3131
- name: Check output
3232
env:
3333
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
@@ -36,7 +36,7 @@ jobs:
3636
echo ${{ steps.vars.outputs.tag }}
3737
- run: npm update
3838
- run: npm install
39-
- uses: actions/upload-artifact@v2
39+
- uses: actions/upload-artifact@v3
4040
with:
4141
name: build
4242
path: |

0 commit comments

Comments
 (0)