You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "::error::package.json version ($VER) must equal git tag without v prefix ($TAG)"
41
+
exit 1
42
+
fi
43
+
44
+
- name: Package VSIX
45
+
run: yarn vsix
46
+
47
+
- name: Create GitHub Release
48
+
uses: softprops/action-gh-release@v2
49
+
with:
50
+
files: "*.vsix"
51
+
generate_release_notes: true
52
+
env:
53
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54
+
55
+
- name: Publish to VS Code Marketplace
56
+
env:
57
+
VSCE_PAT: ${{ secrets.VSCE_PAT }}
58
+
run: |
59
+
if [ -z "$VSCE_PAT" ]; then
60
+
echo "::error::Missing secret VSCE_PAT. Create a PAT at https://dev.azure.com (Marketplace > Manage) and add it under Repo Settings → Secrets → Actions."
0 commit comments