Skip to content

Commit efb3d78

Browse files
committed
Update ci.yml
1 parent 3f932ff commit efb3d78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
uses: actions/setup-node@v3
9696
with:
9797
node-version: 16
98-
- run: npm install -g @vscode/vsce ovsx
98+
- run: npm install -g @vscode/vsce
9999
- name: Download packages
100100
uses: actions/download-artifact@v3
101101
- name: Attach packages to release
@@ -109,13 +109,13 @@ jobs:
109109
env:
110110
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}
111111
if: env.VSCE_PAT != null
112-
run: vsce publish --packagePath $(find . -iname "*.vsix" -type f)
112+
run: vsce publish --skip-duplicate --packagePath $(find . -iname "*.vsix" -type f)
113113
- name: Publish to Open VSX Registry
114114
env:
115115
OVSX_PAT: ${{ secrets.OVSX_TOKEN }}
116116
if: env.OVSX_PAT != null
117117
timeout-minutes: 5
118-
run: ovsx publish $(find . -iname "*.vsix" -type f)
118+
run: npx ovsx publish --skip-duplicate $(find . -iname "*.vsix" -type f)
119119
bump_version:
120120
runs-on: ubuntu-latest
121121
needs: [build, publish]

0 commit comments

Comments
 (0)