Skip to content

Commit a9e3083

Browse files
committed
Let workflow_dispatch be a dry run for the release pipeline
Manual triggers now build all platform prebuilds and list them, but skip npm publish and GitHub release creation. This gives us a safe way to verify the full build matrix before tagging a real release. Tag pushes still do the full release as before.
1 parent 3c74f5e commit a9e3083

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,23 @@ jobs:
4141
path: packages/fuzzer/prebuilds
4242
if-no-files-found: error
4343

44-
release:
45-
name: release
44+
verify-prebuilds:
45+
name: verify prebuilds
46+
needs: [prebuilds]
47+
runs-on: ubuntu-latest
48+
steps:
49+
- name: download prebuilds
50+
uses: actions/download-artifact@v3
51+
with:
52+
name: native-addon
53+
path: prebuilds
54+
if-no-files-found: error
55+
- name: list prebuilds
56+
run: ls -lh prebuilds/
57+
58+
publish:
59+
name: publish
60+
if: startsWith(github.ref, 'refs/tags/')
4661
needs: [prebuilds]
4762
runs-on: ubuntu-latest
4863
permissions:

0 commit comments

Comments
 (0)