Skip to content

Commit a30d9d4

Browse files
committed
ci: publish only if release was created
1 parent 1c35daf commit a30d9d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252

5353
publish:
5454
name: Publish
55+
if: ${{ needs.release.outputs.release_created == 'true' }}
5556
needs: ["release", "package"]
5657
uses: ./.github/workflows/publish.yaml
5758
secrets: inherit

0 commit comments

Comments
 (0)