File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 52
52
git config user.email "github-actions[bot]@users.noreply.github.com"
53
53
git tag ${{ env.new_version }}
54
54
git push origin ${{ env.new_version }}
55
- env :
56
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57
55
58
56
- name : Create GitHub Release
59
57
if : success() && env.vsix_file_exists == 'true'
64
62
env :
65
63
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66
64
65
+ - name : Publish to Visual Studio Marketplace
66
+ if : success() && env.vsix_file_exists == 'true'
67
+ run : |
68
+ npm install -g vsce
69
+ vsce publish
70
+ env :
71
+ VSCE_PAT : ${{ secrets.VSCE_PAT }}
72
+
67
73
- name : Commit and push version update
68
74
if : success() && env.vsix_file_exists == 'true'
69
75
run : |
73
79
git commit -m "ci: bump version to ${{ env.new_version }}"
74
80
git push origin main --tags
75
81
env :
76
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
82
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments