Merge pull request #2248 from github/koesie10/fail-vsce-workflow-on-failure

Fail VSCE workflow on failure
This commit is contained in:
Koen Vlaswinkel
2023-03-29 16:00:22 +02:00
committed by GitHub

View File

@@ -134,10 +134,7 @@ jobs:
- name: Publish to Registry
run: |
npx vsce publish -p $VSCE_TOKEN --packagePath *.vsix || \
echo "Failed to publish to VS Code Marketplace. \
If this was an authentication problem, please make sure the \
auth token hasn't expired."
npx vsce publish -p $VSCE_TOKEN --packagePath *.vsix
open-vsx-publish:
name: Publish to Open VSX Registry