Skip to content

Commit 9fa2f4e

Browse files
committed
Auto merge of #13415 - lnicola:ovsx-timeout, r=lnicola
internal: Set a timeout when publishing to OVSX CC #11080 (comment)
2 parents af987da + 6b159d5 commit 9fa2f4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ jobs:
258258
if: github.ref == 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
259259
working-directory: ./editors/code
260260
# token from https://dev.azure.com/rust-analyzer/
261-
run: npx ovsx publish --pat ${{ secrets.OPENVSX_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix || true
261+
run: timeout 120 --foreground npx ovsx publish --pat ${{ secrets.OPENVSX_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix || true
262262

263263
- name: Publish Extension (Code Marketplace, nightly)
264264
if: github.ref != 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
@@ -268,4 +268,4 @@ jobs:
268268
- name: Publish Extension (OpenVSX, nightly)
269269
if: github.ref != 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
270270
working-directory: ./editors/code
271-
run: npx ovsx publish --pat ${{ secrets.OPENVSX_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix || true
271+
run: timeout 120 --foreground npx ovsx publish --pat ${{ secrets.OPENVSX_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix || true

0 commit comments

Comments
 (0)