Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit f3a6871

Browse files
committed
Auto merge of rust-lang#13537 - lnicola:ovsx-fail, r=lnicola
minor: Allow ovsx publishing to fail
2 parents 56c97a8 + 6073e58 commit f3a6871

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,7 @@ jobs:
257257
- name: Publish Extension (OpenVSX, release)
258258
if: github.ref == 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
259259
working-directory: ./editors/code
260-
# token from https://dev.azure.com/rust-analyzer/
261-
run: npx ovsx publish --pat ${{ secrets.OPENVSX_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix || true
260+
run: npx ovsx publish --pat ${{ secrets.OPENVSX_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix
262261
timeout-minutes: 2
263262

264263
- name: Publish Extension (Code Marketplace, nightly)
@@ -269,5 +268,5 @@ jobs:
269268
- name: Publish Extension (OpenVSX, nightly)
270269
if: github.ref != 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
271270
working-directory: ./editors/code
272-
run: npx ovsx publish --pat ${{ secrets.OPENVSX_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix || true
271+
run: npx ovsx publish --pat ${{ secrets.OPENVSX_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix
273272
timeout-minutes: 2

0 commit comments

Comments
 (0)