Skip to content

Commit

Permalink
ci: upgrade upload/download artifacts to v4 (#782)
Browse files Browse the repository at this point in the history
* ci: upgrade upload/download artifacts to v4

* Update .github/workflows/edr-npm-release.yml

Co-authored-by: Piotr Galar <[email protected]>

---------

Co-authored-by: Piotr Galar <[email protected]>
  • Loading branch information
agostbiro and galargh authored Jan 30, 2025
1 parent 5c8c3dd commit f8de18a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/edr-npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
if: ${{ !matrix.settings.docker }}
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bindings-${{ matrix.settings.target }}
# The upload artifact action doesn't respect the working directory setting. Unclear if this is a bug or not
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile --prefer-offline
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-${{ matrix.settings.target }}
path: ./crates/edr_napi/
Expand All @@ -204,7 +204,7 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile --prefer-offline
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-x86_64-unknown-linux-gnu
path: ./crates/edr_napi/
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:
pnpm config set supportedArchitectures.libc "musl"
pnpm install --frozen-lockfile --prefer-offline
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-x86_64-unknown-linux-musl
path: ./crates/edr_napi/
Expand All @@ -262,7 +262,7 @@ jobs:
with:
version: 9
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-aarch64-unknown-linux-gnu
path: ./crates/edr_napi/
Expand Down Expand Up @@ -306,7 +306,7 @@ jobs:
with:
version: 9
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-aarch64-unknown-linux-musl
path: ./crates/edr_napi/
Expand Down Expand Up @@ -377,7 +377,7 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile --prefer-offline
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: ./crates/edr_napi/artifacts
- name: Check number of artifacts
Expand Down

0 comments on commit f8de18a

Please sign in to comment.