File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 build :
1111 runs-on : ubuntu-latest
1212
13+ permissions :
14+ contents : write
15+
1316 steps :
1417 - uses : actions/checkout@v2
1518
@@ -21,19 +24,13 @@ jobs:
2124 - name : Install vsce
2225 run : npm install -g @vscode/vsce
2326
27+ - name : Package .vsix
28+ run : cd plush.tmbundle && vsce package
29+
2430 - name : Extract version
2531 run : echo "TAG=$(jq -r '.version' plush.tmbundle/package.json)" >> $GITHUB_ENV
2632
27- - name : Create tag
28- run : |
29- git tag $TAG
30- git push origin $TAG
31-
32- - name : Package .vsix
33- run : cd tmbundle && vsce package
34-
3533 - name : Create Release
36- uses : softprops/action-gh-release@v2
37- with :
38- tag_name : ${{ env.TAG }}
39- files : plush.tmbundle/*.vsix
34+ run : gh release create $TAG 'plush.tmbundle/*.vsix' --generate-notes
35+ env :
36+ GH_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments