Skip to content

Commit

Permalink
ci: fix artifact download path
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix-ru committed Nov 27, 2023
1 parent 5cd30d4 commit 2f5bc08
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/napi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ jobs:
name: bindings-${{ matrix.settings.target }}
path: ${{ env.WORKING_DIR_PATH }}/${{ env.APP_NAME }}.*.node
if-no-files-found: error

test-macOS-windows-binding:
name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
needs:
Expand Down Expand Up @@ -151,12 +152,13 @@ jobs:
uses: actions/download-artifact@v3
with:
name: bindings-${{ matrix.settings.target }}
path: .
path: ${{ env.WORKING_DIR_PATH }}
- name: List packages
run: ls -R .
shell: bash
- name: Test bindings
run: yarn test

test-linux-x64-gnu-binding:
name: Test bindings on Linux-x64-gnu - node@${{ matrix.node }}
needs:
Expand Down Expand Up @@ -185,12 +187,13 @@ jobs:
uses: actions/download-artifact@v3
with:
name: bindings-x86_64-unknown-linux-gnu
path: .
path: ${{ env.WORKING_DIR_PATH }}
- name: List packages
run: ls -R .
shell: bash
- name: Test bindings
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim yarn test

publish:
name: Publish
runs-on: ubuntu-latest
Expand All @@ -213,7 +216,7 @@ jobs:
- name: Download all artifacts
uses: actions/download-artifact@v3
with:
path: artifacts
path: ${{ env.WORKING_DIR_PATH }}/artifacts
- name: Move artifacts
run: yarn artifacts
- name: List packages
Expand Down

0 comments on commit 2f5bc08

Please sign in to comment.