Skip to content

Commit

Permalink
ci: updates publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LuqueDaniel committed Sep 14, 2024
1 parent 0ac7e89 commit 47e1b85
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
- run: npm ci
Expand All @@ -27,13 +27,13 @@ jobs:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
preRelease: ${{ env.IS_PRE_RELEASE }}
- name: Publish to Open VSX Registry
if: ${{ ! fromJSON(env.IS_PRE_RELEASE) }}
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.OVSX_TOKEN }}
registryUrl: https://open-vsx.org
extensionFile: ${{ steps.publishToVSM.outputs.vsixPath }}
#- name: Publish to Open VSX Registry
# if: ${{ ! fromJSON(env.IS_PRE_RELEASE) }}
# uses: HaaLeo/publish-vscode-extension@v1
# with:
# pat: ${{ secrets.OVSX_TOKEN }}
# registryUrl: https://open-vsx.org
# extensionFile: ${{ steps.publishToVSM.outputs.vsixPath }}
- name: Create draft GitHub Release
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 47e1b85

Please sign in to comment.