File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ jobs:
1313 - uses : actions/setup-node@v2
1414 with :
1515 node-version : 14.12.0
16+ # Install dependencies
1617 - run : npm install
1718 - run : npm install -g vsce
19+ # Build the extension
1820 - run : vsce package
19- # Read the version from the package.json file
20- - run : echo "VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV
2121 # Upload the VSIX file as an artifact with version number
2222 - uses : actions/upload-artifact@v3
2323 with :
24- name : commit-extension-${{ env.VERSION }}
24+ name : commit-extension
2525 path : ./*.vsix
2626
2727 # Create a release with the version number
3232 # Download the VSIX file from the artifact
3333 - uses : actions/download-artifact@v2
3434 with :
35- name : commit-extension-${{ env.VERSION }}
35+ name : commit-extension
3636 path : ./
3737
3838 # Upload the VSIX file to the Github release
You can’t perform that action at this time.
0 commit comments