We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f80ba48 commit aa89dabCopy full SHA for aa89dab
1 file changed
.github/workflows/npmPublish.yml
@@ -75,13 +75,11 @@ jobs:
75
env:
76
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
77
- run: echo "published said ${{ steps.is-published.outputs.published }}"
78
-
79
- fail-if-published:
80
- needs: [check-publish]
81
- if: needs.check-publish.outputs.published == 'true'
82
- uses: actions/github-script@v7
83
- with:
84
- script: core.setFailed("The version '${{ inputs.githubTag }}' has already been published to npm")
+ - name: Fail if published
+ if: steps.is-published.outputs.published == 'true'
+ uses: actions/github-script@v7
+ with:
+ script: core.setFailed("The version '${{ inputs.githubTag }}' has already been published to npm")
85
86
ctc-open:
87
needs: [check-publish]
0 commit comments