From 9832f41d6ef483e819b47ce55187fa2b8d0d0563 Mon Sep 17 00:00:00 2001 From: Nick Strayer Date: Thu, 27 Jun 2024 12:34:57 -0400 Subject: [PATCH] Add open-vsx deployment --- .github/workflows/Publish-VSCode-Extension.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) 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: