diff --git a/.github/workflows/Publish-VSCode-Extension.yaml b/.github/workflows/Publish-VSCode-Extension.yaml index 51d8564e9..24e40ba4d 100644 --- a/.github/workflows/Publish-VSCode-Extension.yaml +++ b/.github/workflows/Publish-VSCode-Extension.yaml @@ -3,7 +3,7 @@ on: push: tags: - - "v[0-9]*" + - 'v[0-9]*' name: Deploy Extension jobs: @@ -13,13 +13,14 @@ jobs: - uses: actions/checkout@v2 - uses: ./.github/internals/setup-js - run: yarn build - # - name: Publish to Open VSX Registry - # uses: HaaLeo/publish-vscode-extension@v1 - # with: - # packagePath: ./inst/vscode-extension/ - # yarn: true - # pat: ${{ secrets.OPEN_VSX_TOKEN }} - # dryRun: ${{ github.ref_name == 'main' }} + - name: Publish to Open VSX Registry + uses: HaaLeo/publish-vscode-extension@v1 + with: + packagePath: ./inst/vscode-extension/ + yarn: true + pat: ${{ secrets.VSX_TOKEN }} + skipDuplicate: true + dryRun: ${{ github.ref_name == 'main' }} - name: Publish to Visual Studio Marketplace uses: HaaLeo/publish-vscode-extension@v1 with: