Skip to content

Commit bb011c3

Browse files
authored
ci: add skipped check
1 parent 7de9c84 commit bb011c3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,28 @@ jobs:
2020
with:
2121
github-token: ${{ secrets.github_token }}
2222

23-
- name: Create Release
23+
- name: Create Release
2424
uses: ncipollo/release-action@v1
25+
if: ${{ steps.changelog.outputs.skipped == 'false' }}
2526
with:
2627
tag: ${{ steps.changelog.outputs.tag }}
2728
body: ${{ steps.changelog.outputs.clean_changelog }}
2829

2930
- name: Setup Node.js environment
3031
uses: actions/[email protected]
32+
if: ${{ steps.changelog.outputs.skipped == 'false' }}
3133
with:
3234
node-version: 18
3335
registry-url: https://registry.npmjs.org/
3436

3537
- name: Install the dependencies
38+
if: ${{ steps.changelog.outputs.skipped == 'false' }}
3639
run: npm i
3740

3841
- name: Install vsce
42+
if: ${{ steps.changelog.outputs.skipped == 'false' }}
3943
run: npm i -g vsce
4044

4145
- name: Publish
46+
if: ${{ steps.changelog.outputs.skipped == 'false' }}
4247
run: vsce publish -p ${{ secrets.VSCE_PAT }}

0 commit comments

Comments
 (0)