Skip to content

Commit

Permalink
CI: The NPM action needs perms to upload GitHub Release artifacts
Browse files Browse the repository at this point in the history
Also, don't include the checksum files generated by the build process.
  • Loading branch information
jrose-signal committed Jul 11, 2024
1 parent a4a0663 commit 07801c8
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ jobs:
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: Debug info (${{matrix.os}})
path: node/*-debuginfo.*
path: |
node/*-debuginfo.*
!node/*.sha256
build-docker:
name: Build (Ubuntu via Docker)
Expand All @@ -133,7 +135,9 @@ jobs:
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: Debug info (${{matrix.os}})
path: node/*-debuginfo.*
path: |
node/*-debuginfo.*
!node/*.sha256
verify-rust:
name: Verify Node bindings
Expand All @@ -156,6 +160,10 @@ jobs:
publish:
name: Publish

permissions:
# Needed for ncipollo/release-action.
contents: 'write'

runs-on: ubuntu-latest

needs: [build, build-docker, verify-rust]
Expand Down

0 comments on commit 07801c8

Please sign in to comment.