Skip to content

Commit

Permalink
chore: upload artifact into a bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
lopo12123 committed Oct 31, 2023
1 parent 4b9f0ea commit 181e529
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ jobs:
fail-fast: false
matrix:
settings:
# - host: macos-latest
# target: x86_64-apple-darwin
# build: |
# yarn build
# strip -x *.node
# - host: macos-latest
# target: x86_64-apple-darwin
# build: |
# yarn build
# strip -x *.node
- host: windows-latest
build: yarn build
target: x86_64-pc-windows-msvc
# - host: macos-latest
# target: aarch64-apple-darwin
# build: |
# yarn build --target aarch64-apple-darwin
# strip -x *.node
# - host: macos-latest
# target: aarch64-apple-darwin
# build: |
# yarn build --target aarch64-apple-darwin
# strip -x *.node
- host: windows-latest
target: aarch64-pc-windows-msvc
build: yarn build --target aarch64-pc-windows-msvc
Expand All @@ -53,7 +53,7 @@ jobs:
with:
node-version: 18
check-latest: true
# cache: yarn
# cache: yarn
- name: Install
uses: dtolnay/rust-toolchain@stable
if: ${{ !matrix.settings.docker }}
Expand Down Expand Up @@ -106,8 +106,11 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: bindings-${{ matrix.settings.target }}
path: crates/tape-node/${{ env.APP_NAME }}.*.node
name: assets-bundle
path: |
crates/tape-node/${{ env.APP_NAME }}.*.node
crates/tape-node/index.js
crates/tape-node/index.d.ts
if-no-files-found: error
# publish:
# name: Publish
Expand Down

0 comments on commit 181e529

Please sign in to comment.