Skip to content

Commit 8b82bc0

Browse files
committed
chore: fix release workflow
1 parent 938392f commit 8b82bc0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
- run: npm install
2626
- run: npm run build
2727
- name: Create Release Pull Request or Publish to npm
28+
id: changesets
2829
uses: changesets/action@v1
2930
with:
3031
publish: npx @changesets/cli publish
@@ -33,5 +34,6 @@ jobs:
3334
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3435
NPM_CONFIG_PROVENANCE: true
3536
- run: npx -w packages/vscode vsce publish --no-git-tag-version --skip-duplicate
37+
if: steps.changesets.outputs.published == 'true'
3638
env:
3739
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 commit comments

Comments
 (0)