From 06413ada5bcfd1712ddc9e61e527f320d19da894 Mon Sep 17 00:00:00 2001 From: Bradley Farias Date: Mon, 30 Sep 2024 10:28:10 -0500 Subject: [PATCH] fix ms registry to not rely on vsx success and vice versa, dont fail on existing versions (#24) --- .github/workflows/publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a6e0c4c..89696ba 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,13 +23,16 @@ 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 }} @@ -37,6 +40,7 @@ jobs: 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 }}