Skip to content

Commit

Permalink
test upload/download artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
nitaliano committed Dec 3, 2024
1 parent 6dcf2a6 commit 1aac6a8
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- nick-test

jobs:
build-native-artifacts:
build-artifacts:
name: Build node bindings
strategy:
matrix:
Expand All @@ -25,4 +25,21 @@ jobs:

- name: Build Native Artifacts
run: ./scripts/release.sh
shell: bash
shell: bash

- uses: actions/upload-artifact@v4
with:
name: build-artifacts-${{ github.sha }}-${{ matrix.os }}
path: packages/**/*.node
retention-days: 1
download-artifacts:
needs: build-artifacts
runs-on: ubuntu-latest
steps:
- name: Download All Artifacts
uses: actions/download-artifact@v4
with:
path: my-artifact
pattern: build-artifacts-${{ github.sha }}-*
merge-multiple: true
- run: ls -R my-artifact

0 comments on commit 1aac6a8

Please sign in to comment.