Skip to content

Commit f06bfc0

Browse files
committed
ci: skip the extension publish when registry tokens are unset
1 parent da513d6 commit f06bfc0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ jobs:
176176
VSCE_PAT: ${{ secrets.VSCE_PAT }}
177177
run: |
178178
if [ -z "$VSCE_PAT" ]; then
179-
echo "::error::VSCE_PAT secret not set — cannot publish the extension."
180-
exit 1
179+
echo "::warning::VSCE_PAT secret not set — skipping Marketplace publish."
180+
exit 0
181181
fi
182182
pnpm --filter pythinker-code run publish:vsix
183183

0 commit comments

Comments
 (0)