Skip to content

Commit

Permalink
[HHA] NodeJS 20 for publishing VSCode extension workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BoykoAlex committed Oct 17, 2024
1 parent 59e1b0c commit 05b5e9f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/publish-vscode-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 05b5e9f

Please sign in to comment.