File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121
2222 - name : Install Dependencies # vsce etc
2323 run : | # shell
24- npm i @vscode/vsce -g
24+ npm i
2525
2626 - name : Setup Github Actions # allow use of `git push`
2727 run : | # shell
3333 - name : Package Extension # `.vsix` file
3434 run : | # shell
3535 if [ ${{ github.event.inputs.version }} = "keep" ]; then
36- vsce package
36+ npm run package
3737 else
38- vsce package ${{ github.event.inputs.version }}
38+ npm run package --- ${{ github.event.inputs.version }}
3939 fi
4040 git push --follow-tags
4141 echo "VERSION=$(node -p "require('./package.json').version")" >> "$GITHUB_ENV"
4848
4949 - name : Publish Release # upload to Extension Marketplace
5050 run : | # shell
51- vsce publish --packagePath rascal-syntax-highlighter-$VERSION.vsix
51+ npm run publish --- --packagePath rascal-syntax-highlighter-$VERSION.vsix
5252 env :
5353 VSCE_PAT : ${{ secrets.VSCE_PAT }}
You can’t perform that action at this time.
0 commit comments