chore(deps): update actions/download-artifact action to v4 (#1856)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/download-artifact](https://togithub.com/actions/download-artifact) | action | major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>actions/download-artifact (actions/download-artifact)</summary>

### [`v4`](https://togithub.com/actions/download-artifact/compare/v3...v4)

[Compare Source](https://togithub.com/actions/download-artifact/compare/v3...v4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/napi-rs/napi-rs).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
This commit is contained in:
renovate[bot] 2023-12-15 23:15:38 +08:00 committed by GitHub
parent 3423557cb5
commit c7189a68c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -292,11 +292,11 @@ jobs:
chmod 777 -R .cargo-cache
chmod 777 -R target
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.settings.target }}-example
path: examples/napi/index.node
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.settings.target }}-example-compat
path: examples/napi-compat-mode/index.node
@ -338,11 +338,11 @@ jobs:
with:
node-version: 18
cache: 'yarn'
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ matrix.settings.target }}-example
path: examples/napi/index.node
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ matrix.settings.target }}-example-compat
path: examples/napi-compat-mode/index.node

View file

@ -66,13 +66,13 @@ jobs:
run: |
yarn build:test -- --target ${{ matrix.target }} --cross-compile
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: compat-${{ matrix.target }}
path: ./examples/napi-compat-mode/index.node
if-no-files-found: error
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: napi-${{ matrix.target }}
path: ./examples/napi/index.node
@ -107,12 +107,12 @@ jobs:
yarn config set --json supportedArchitectures.cpu '["current", "arm64"]'
yarn install --immutable --mode=skip-build
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: napi-${{ matrix.settings.target }}
path: ./examples/napi/
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: compat-${{ matrix.settings.target }}
path: ./examples/napi-compat-mode/