We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e7fc9d commit f6c8f2eCopy full SHA for f6c8f2e
.github/workflows/build_node_shared.yml
@@ -1,6 +1,8 @@
1
name: Build Node.js Shared Library
2
3
on:
4
+ release:
5
+ types: [created]
6
pull_request:
7
types: [opened, synchronize, reopened]
8
paths:
@@ -40,12 +42,14 @@ jobs:
40
42
touch out/Release/libnode.so.127
41
43
44
- name: Package assets
45
+ if: startsWith(github.ref, 'refs/tags/')
46
run: |
47
cd out/Release
48
zip node-shared-linux-x64-${{ matrix.compiler }}.zip libnode.so.127
49
50
- name: Publish to release assets
51
uses: softprops/action-gh-release@v2
52
53
with:
54
files: |
55
out/Release/node-shared-linux-x64-${{ matrix.compiler }}.zip
0 commit comments