Skip to content

Commit

Permalink
update some githube actions from v3 to v4. the artifact upload/downlo…
Browse files Browse the repository at this point in the history
…ad ones are incompatible accross versions, and this was my problem in last build
  • Loading branch information
Jonahss committed Dec 18, 2023
1 parent d869557 commit dd1aa3f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
name: stable - ${{ matrix.settings.target }} - node@18
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
if: ${{ !matrix.settings.docker }}
with:
node-version: 18
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Install dependencies
run: yarn install
- name: Setup node x86
uses: actions/setup-node@v3
uses: actions/setup-node@v4
if: matrix.settings.target == 'i686-pc-windows-msvc'
with:
node-version: 18
Expand All @@ -106,7 +106,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 }}
path: ${{ env.NAPI_DRIVER_SUBDIRECTORY }}/${{ env.APP_NAME }}.*.node
Expand All @@ -124,9 +124,9 @@ jobs:
steps:
- run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
working-directory: /
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-armv7-unknown-linux-gnueabihf
path: ./${{ env.NAPI_DRIVER_SUBDIRECTORY }}
Expand Down Expand Up @@ -193,9 +193,9 @@ jobs:
- test-linux-arm-gnueabihf-binding
- test-linux-aarch64-gnu-binding
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
check-latest: true
Expand All @@ -204,7 +204,7 @@ jobs:
- name: Install dependencies
run: yarn install
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: ${{ env.NAPI_DRIVER_SUBDIRECTORY }}/artifacts
- name: Move artifacts
Expand Down

0 comments on commit dd1aa3f

Please sign in to comment.