Skip to content

Commit d68b92f

Browse files
committed
Gate npm publish on successful builds
1 parent 940216d commit d68b92f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ jobs:
7474
secrets: inherit
7575

7676
publish-server:
77-
needs: prepare-release
77+
needs:
78+
- prepare-release
79+
- build-and-upload
7880
uses: ./.github/workflows/manual-npm-publish.yml
7981
with:
8082
version: ${{ needs.prepare-release.outputs.version }}

0 commit comments

Comments
 (0)