[HHA] NodeJS 20 for publishing VSCode extension workflow

This commit is contained in:
aboyko
2024-10-17 13:30:04 -04:00
parent 59e1b0ca76
commit 05b5e9fce8

View File

@@ -27,15 +27,19 @@ jobs:
runs-on: ubuntu-latest
name: Publish '${{ inputs.extension-name }}-${{ inputs.version }}-${{ inputs.postfix }}.vsix'
steps:
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Download Release VSIX
id: download-release
run: |
wget $DOWNLOAD_URL_ROOT/$URL_PATH/$VSIX_FILE
- name: Publish to VSCode Marketplace
id: publish-vsce
run: |
npm install --global @vscode/vsce
vsce publish -p ${{ secrets.VSCE_PUBLISH_TOKEN }} --packagePath $VSIX_FILE
# - name: Publish to VSCode Marketplace
# id: publish-vsce
# run: |
# npm install --global @vscode/vsce
# vsce publish -p ${{ secrets.VSCE_PUBLISH_TOKEN }} --packagePath $VSIX_FILE
- name: Publish to Eclipse Open VSX
id: publish-ovsx
run: |