Skip to content

Commit

Permalink
fix ms registry to not rely on vsx success and vice versa, dont fail …
Browse files Browse the repository at this point in the history
…on existing versions (#24)
  • Loading branch information
bmeck authored Sep 30, 2024
1 parent b947cfb commit 06413ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,24 @@ jobs:
- uses: actions/setup-node@v3
- run: npm ci
- name: Publish to Open VSX Registry
if: success() || failure()
uses: HaaLeo/publish-vscode-extension@v1
id: publishToOpenVSX
with:
dryRun: ${{ steps.releaseMode.outputs.dryRun }}
pat: ${{ secrets.OPEN_VSX_TOKEN }}
preRelease: ${{ steps.releaseMode.outputs.preRelease }}
skipDuplicate: true
- name: Publish to Visual Studio Marketplace
if: success() || failure()
uses: HaaLeo/publish-vscode-extension@v1
with:
dryRun: ${{ steps.releaseMode.outputs.dryRun }}
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
preRelease: ${{ steps.releaseMode.outputs.preRelease }}
registryUrl: https://marketplace.visualstudio.com
skipDuplicate: true
- name: Github Release
uses: softprops/action-gh-release@v1
# if: ${{ ! steps.releaseMode.outputs.dryRun }}
Expand Down

0 comments on commit 06413ad

Please sign in to comment.