Skip to content

Commit f6b8ad9

Browse files
committed
Migrate actions/upload-artifact to v4
* v3 is deprecated and can't be used anymore * v4 requires unique names
1 parent 3bc0244 commit f6b8ad9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/native-dependencies.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
os: ['ubuntu-20.04', 'windows-latest', 'macos-latest']
10+
os: ["ubuntu-20.04", "windows-latest", "macos-latest"]
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
@@ -16,13 +16,13 @@ jobs:
1616
- name: Use Node.js 18.17.0
1717
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
1818
with:
19-
node-version: '18.17.0'
20-
registry-url: 'https://registry.npmjs.org'
19+
node-version: "18.17.0"
20+
registry-url: "https://registry.npmjs.org"
2121

2222
- name: Use Python 3.11
2323
uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0
2424
with:
25-
python-version: '3.11'
25+
python-version: "3.11"
2626

2727
- name: Install and Build
2828
shell: bash
@@ -44,7 +44,7 @@ jobs:
4444
run: npm run zip:native:dependencies
4545

4646
- name: Upload Artifacts
47-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
48-
with:
49-
name: native-dependencies
47+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 #v4
48+
with:
49+
name: native-dependencies-${{ matrix.os }}
5050
path: ./scripts/native-dependencies-*.zip

0 commit comments

Comments
 (0)