Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Commit 473cf9a

Browse files
committed
fix: GitHub Actions workflow secrets handling
1 parent 9633479 commit 473cf9a

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,14 @@ jobs:
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747

48-
- name: Publish to VS Code Marketplace
49-
if: ${{ secrets.VSCE_PAT }}
50-
run: npx @vscode/vsce publish --pat ${{ secrets.VSCE_PAT }}
51-
52-
- name: Publish to Open VSX Registry
53-
if: ${{ secrets.OVSX_PAT }}
54-
run: npx ovsx publish *.vsix --pat ${{ secrets.OVSX_PAT }}
48+
# Publishing to marketplaces requires secrets to be configured
49+
# VSCE_PAT and OVSX_PAT need to be added as repository secrets
50+
# Uncomment and configure these steps when ready to publish
51+
52+
# - name: Publish to VS Code Marketplace
53+
# run: npx @vscode/vsce publish --pat ${{ secrets.VSCE_PAT }}
54+
# if: secrets.VSCE_PAT != null
55+
56+
# - name: Publish to Open VSX Registry
57+
# run: npx ovsx publish *.vsix --pat ${{ secrets.OVSX_PAT }}
58+
# if: secrets.OVSX_PAT != null

0 commit comments

Comments
 (0)