Skip to content

Commit

Permalink
Try to publish the universal VSIX before the other ones
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola committed May 23, 2022
1 parent 84be2ea commit abc541e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ jobs:
if: github.ref == 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
working-directory: ./editors/code
# token from https://dev.azure.com/rust-analyzer/
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-no-server.vsix ../../dist/rust-analyzer-alpine-x64.vsix ../../dist/rust-analyzer-darwin-arm64.vsix ../../dist/rust-analyzer-darwin-x64.vsix ../../dist/rust-analyzer-linux-arm64.vsix ../../dist/rust-analyzer-linux-x64.vsix ../../dist/rust-analyzer-win32-arm64.vsix ../../dist/rust-analyzer-win32-x64.vsix

- name: Publish Extension (nightly)
if: github.ref != 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
working-directory: ./editors/code
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix --pre-release
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --pre-release --packagePath ../../dist/rust-analyzer-no-server.vsix ../../dist/rust-analyzer-alpine-x64.vsix ../../dist/rust-analyzer-darwin-arm64.vsix ../../dist/rust-analyzer-darwin-x64.vsix ../../dist/rust-analyzer-linux-arm64.vsix ../../dist/rust-analyzer-linux-x64.vsix ../../dist/rust-analyzer-win32-arm64.vsix ../../dist/rust-analyzer-win32-x64.vsix

0 comments on commit abc541e

Please sign in to comment.