Skip to content

Commit d1b92d6

Browse files
authored
ci: bump actions/upload-artifact version (#571)
1 parent 981cd8b commit d1b92d6

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/make.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,49 @@ jobs:
55
make:
66
strategy:
77
matrix:
8-
node-version: [16.x]
8+
node-version: [18.x]
99
os: [ubuntu-latest]
1010
runs-on: ${{ matrix.os }}
1111
steps:
1212
- uses: actions/checkout@v3
13+
1314
- uses: actions/setup-node@v3
15+
1416
- name: Install deps
1517
run: npm ci
18+
1619
- name: Install ncc
1720
run: npm install --global @vercel/ncc
21+
1822
- name: Install pkg
1923
run: npm install --global pkg
24+
2025
- name: Create bin/
2126
run: mkdir bin
27+
2228
- name: Run ncc
2329
run: ncc build src/index.ts -o bin
30+
2431
- name: Run pkg
2532
run: pkg bin/index.js
33+
2634
- name: Rename binaries
2735
run: |
2836
mv index-linux Swarm-CLI-Linux
2937
mv index-macos Swarm-CLI-MacOS
3038
mv index-win.exe Swarm-CLI-Windows.exe
31-
- uses: actions/upload-artifact@v3
39+
40+
- uses: actions/upload-artifact@v4
3241
with:
3342
name: Swarm-CLI-Linux
3443
path: Swarm-CLI-Linux
35-
- uses: actions/upload-artifact@v3
44+
45+
- uses: actions/upload-artifact@v4
3646
with:
3747
name: Swarm-CLI-MacOS
3848
path: Swarm-CLI-MacOS
39-
- uses: actions/upload-artifact@v3
49+
50+
- uses: actions/upload-artifact@v4
4051
with:
4152
name: Swarm-CLI-Windows.exe
4253
path: Swarm-CLI-Windows.exe

0 commit comments

Comments
 (0)