We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5231465 commit 5af4513Copy full SHA for 5af4513
.github/workflows/publish.yml
@@ -78,17 +78,17 @@ jobs:
78
echo "Created tag: $TAG"
79
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
80
81
- - name: Push changes to master
82
- if: ${{ !inputs.dryRun }}
83
- run: |
84
- git push origin master --follow-tags
85
-
86
- name: Publish to npm
87
env:
88
DRY_RUN_FLAG: ${{ inputs.dryRun && '--dry-run' || '' }}
89
TAG_FLAG: ${{ startsWith(inputs.bump, 'pre') && format('--tag {0}', inputs.npmPreTag) || ''}}
90
run: npm publish --provenance --access=public $DRY_RUN_FLAG $TAG_FLAG
91
+ - name: Push changes to master
+ if: ${{ !inputs.dryRun }}
+ run: |
+ git push origin master --follow-tags
+
92
- name: Create GitHub Release
93
if: ${{ !inputs.dryRun }}
94
uses: softprops/action-gh-release@v2
0 commit comments