From efb3d78641a36aff99394abe983bac59119af670 Mon Sep 17 00:00:00 2001 From: Brett Saviano Date: Mon, 13 Feb 2023 10:35:59 -0500 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4576884..85cf917 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,7 +95,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: 16 - - run: npm install -g @vscode/vsce ovsx + - run: npm install -g @vscode/vsce - name: Download packages uses: actions/download-artifact@v3 - name: Attach packages to release @@ -109,13 +109,13 @@ jobs: env: VSCE_PAT: ${{ secrets.VSCE_TOKEN }} if: env.VSCE_PAT != null - run: vsce publish --packagePath $(find . -iname "*.vsix" -type f) + run: vsce publish --skip-duplicate --packagePath $(find . -iname "*.vsix" -type f) - name: Publish to Open VSX Registry env: OVSX_PAT: ${{ secrets.OVSX_TOKEN }} if: env.OVSX_PAT != null timeout-minutes: 5 - run: ovsx publish $(find . -iname "*.vsix" -type f) + run: npx ovsx publish --skip-duplicate $(find . -iname "*.vsix" -type f) bump_version: runs-on: ubuntu-latest needs: [build, publish]