Skip to content

Commit 1f83ef3

Browse files
committed
Try to publish the universal VSIX before the other ones
1 parent 84be2ea commit 1f83ef3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,15 @@ jobs:
248248
if: github.ref == 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
249249
working-directory: ./editors/code
250250
# token from https://dev.azure.com/rust-analyzer/
251-
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix
251+
run: |
252+
npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-no-server.vsix
253+
rm ../../dist/rust-analyzer-no-server.vsix
254+
npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix
252255
253256
- name: Publish Extension (nightly)
254257
if: github.ref != 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
255258
working-directory: ./editors/code
256-
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix --pre-release
259+
run: |
260+
npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-no-server.vsix --pre-release
261+
rm ../../dist/rust-analyzer-no-server.vsix
262+
npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix --pre-release

0 commit comments

Comments
 (0)