File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -72,11 +72,18 @@ jobs:
7272 npm install -g typescript "@vscode/vsce" "ovsx"
7373 - name : Download VSIX
747475+ with :
76+ merge-multiple : true
77+ path : .
78+ - name : List downloaded files
79+ run : ls -ll *.vsix
80+ - name : Set EXT_VERSION variable
81+ run : echo "EXT_VERSION=$(cat package.json | jq -r .version)" >> $GITHUB_ENV
7582 - name : Publish to VS Code Marketplace
7683 if : ${{ inputs.publishToMarketPlace == 'true' }}
7784 run : |
78- vsce publish -p ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} --packagePath vscode-walkthrough-extension/vscode- devfile-* -${GITHUB_RUN_NUMBER}.vsix
85+ vsce publish -p ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} --packagePath vscode-devfile-${{ env.EXT_VERSION }} -${GITHUB_RUN_NUMBER}.vsix
7986 - name : Publish to OpenVSX Registry
8087 if : ${{ inputs.publishToOVSX == 'true' == 'true' }}
8188 run : |
82- ovsx publish -p ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --packagePath vscode-walkthrough-extension/vscode- devfile-* -${GITHUB_RUN_NUMBER}.vsix
89+ ovsx publish -p ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --packagePath vscode-devfile-${{ env.EXT_VERSION }} -${GITHUB_RUN_NUMBER}.vsix
You can’t perform that action at this time.
0 commit comments