Skip to content

Commit

Permalink
Migrate actions/upload-artifact to v4
Browse files Browse the repository at this point in the history
* v3 is deprecated and can't be used anymore
* v4 requires unique names
  • Loading branch information
jfaltermeier committed Jan 30, 2025
1 parent 3bc0244 commit f6b8ad9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/native-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-20.04', 'windows-latest', 'macos-latest']
os: ["ubuntu-20.04", "windows-latest", "macos-latest"]
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
Expand All @@ -16,13 +16,13 @@ jobs:
- name: Use Node.js 18.17.0
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version: '18.17.0'
registry-url: 'https://registry.npmjs.org'
node-version: "18.17.0"
registry-url: "https://registry.npmjs.org"

- name: Use Python 3.11
uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0
with:
python-version: '3.11'
python-version: "3.11"

- name: Install and Build
shell: bash
Expand All @@ -44,7 +44,7 @@ jobs:
run: npm run zip:native:dependencies

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

0 comments on commit f6b8ad9

Please sign in to comment.