Skip to content

Commit a3caa2f

Browse files
committed
🔧 chore: fix action reference and condition in release workflow
1 parent 7bc7951 commit a3caa2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-please.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
tag_name: ${{ steps.release.outputs.tag_name }}
2020

2121
steps:
22-
- uses: google-github-actions/release-please-action@v4
22+
- uses: googleapis/release-please-action@v4
2323
id: release
2424
with:
2525
config-file: release-please-config.json
@@ -29,7 +29,7 @@ jobs:
2929
publish:
3030
needs: release-please
3131
# Run if a release was created OR if manually triggered (rescue mode)
32-
if: ${{ needs.release-please.outputs.release_created || github.event_name == 'workflow_dispatch' }}
32+
if: ${{ needs.release-please.outputs.release_created == 'true' || github.event_name == 'workflow_dispatch' }}
3333
runs-on: ubuntu-latest
3434
steps:
3535
- uses: actions/checkout@v4
@@ -50,4 +50,4 @@ jobs:
5050
- name: Publish to VS Code Marketplace
5151
env:
5252
VSCE_PAT: ${{ secrets.vsce_token }}
53-
run: npx @vscode/vsce publish --packagePath . --pat $VSCE_PAT
53+
run: npx @vscode/vsce publish --pat $VSCE_PAT

0 commit comments

Comments
 (0)