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]