Commit Graph

118 Commits

Author SHA1 Message Date
Matthijs van der Vleuten
12cf9b6788 Specify --pre-release when publishing vsce nightly
According to https://code.visualstudio.com/api/working-with-extensions/publishing-extension#prerelease-extensions, when publishing pre-release versions, `--pre-release` must also be passed in the publish step.

Currently the behavior with and without the flag seems to be the same, but since it's documented to be required, don't rely on this staying that way.

This flag was previously removed in #13020, so this partially reverts that change.
2023-04-24 21:02:24 +02:00
Laurențiu Nicola
87d6107f19 Build i686-pc-windows-msvc binaries 2023-02-11 17:50:48 +02:00
Laurențiu Nicola
6073e58e30 Allow ovsx publishing to fail 2022-11-03 15:42:55 +02:00
Laurențiu Nicola
7bf6f188de Bump actions/setup-node 2022-10-15 14:47:53 +03:00
Laurențiu Nicola
f94d8d8940 Set a timeout when publishing to OVSX 2022-10-14 19:38:50 +03:00
Spencer
73d759955f
use rustup minimal profile and add curl retries 2022-09-10 23:43:33 -07:00
Spencer
ae57150d0d
add rustup bin to path 2022-09-10 23:29:15 -07:00
Spencer
dd65588c51
install rustup directly 2022-09-10 23:25:30 -07:00
Spencer
b843b8801d
revert conditional logic for apt update step 2022-09-10 18:10:56 -07:00
Spencer Sharkey
54fe5b7fc2 use ubuntu 18.04 container for release 2022-09-09 21:23:02 -07:00
Aleksey Kladov
61ad33da42 internal: ignore failures when publishing to ovsx
This has been failing for a while

https://github.com/rust-lang/rust-analyzer/runs/8147683225?check_suite_focus=true#step:24:19
2022-09-02 11:48:58 +01:00
Laurențiu Nicola
00b0089615 Switch to ubuntu-20.04 runners 2022-08-20 17:21:54 +03:00
Laurențiu Nicola
c61237b2b2 Remove redundant --pre-release flag from publish 2022-08-14 20:52:43 +03:00
Laurențiu Nicola
1ce978370b Use Node 16 in CI workflows 2022-08-12 18:19:48 +03:00
Jonas Schievink
c71f1e70a8 Don't run on PRs 2022-08-01 16:16:22 +02:00
Laurențiu Nicola
cfbada4e0f Upload arm-unknown-linux-gnueabihf build artifact 2022-08-01 16:54:54 +03:00
Laurențiu Nicola
b72ff95901
Fix linker env var name 2022-08-01 16:46:18 +03:00
Jonas Schievink
64090ee27c Fix target check 2022-08-01 15:22:02 +02:00
Jonas Schievink
caf8a6454a Set linker 2022-08-01 15:09:45 +02:00
Jonas Schievink
9c960731de Publish extension for 32-bit ARM systems 2022-08-01 14:26:20 +02:00
Aleksey Kladov
c205c629ef try fixing spurious CI failures on windows
It seems like it may be related to self-update? Anyways, I think we
should be disabling self-update on CI
2022-07-16 11:42:28 +01:00
Aleksey Kladov
b49f2a2b43 Remove deprecate action
https://old.reddit.com/r/rust/comments/vyx4oj/actionsrs_organization_became_unmaintained/

Looking at this holistically, I don't fully understand *why* we need an
action here? Seems like we can just use rustup? nowadays github runners
come with rustup pre-installed.
2022-07-15 23:04:09 +01:00
Aleksey Kladov
248fa55fc7 Update .github/workflows/release.yaml
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
2022-07-15 23:04:09 +01:00
Aleksey Kladov
f4fe2ea227 Remove deprecate action
https://old.reddit.com/r/rust/comments/vyx4oj/actionsrs_organization_became_unmaintained/

Looking at this holistically, I don't fully understand *why* we need an
action here? Seems like we can just use rustup? nowadays github runners
come with rustup pre-installed.
2022-07-15 23:04:09 +01:00
Laurențiu Nicola
21642a2d85 Try to publish releases to OpenVSX 2022-06-23 22:18:08 +03:00
bors
81805d4cfc Auto merge of #12366 - rust-lang:revert-12349-universal-vsix, r=lnicola
Revert "internal: Publish universal VSIX to make VS happy"

Reverts rust-lang/rust-analyzer#12349
2022-05-23 20:55:29 +00:00
Laurențiu Nicola
0ab4a5f90b
Revert "internal: Publish universal VSIX to make VS happy" 2022-05-23 23:45:46 +03:00
Laurențiu Nicola
04587b4b1a
Revert "internal: Try to publish the universal VSIX before the other ones" 2022-05-23 23:44:08 +03:00
Laurențiu Nicola
abc541e496 Try to publish the universal VSIX before the other ones 2022-05-23 18:11:17 +03:00
Laurențiu Nicola
f50afe1b39 Publish universal VSIX to make VS happy 2022-05-22 21:13:14 +03:00
David Tolnay
5bea4ba224
Update GitHub Actions actions/checkout@v2 to v3
The v2 implementation uses Node 12, which is end-of-life on April 30, 2022.
See https://nodejs.org/en/about/releases/. Update to v3, which is based on
Node 16 whose support lasts until April 30, 2024.
2022-04-30 13:56:03 -07:00
Lukas Wirth
be34896433 minor: prepare CI for rust-lang move 2022-04-13 12:26:24 +02:00
Laurențiu Nicola
f60d300300 Build release binaries on Ubuntu 18.04 2022-03-01 07:24:27 +02:00
Laurențiu Nicola
45d2262963 Gate workflows to only run on upstream 2021-12-22 21:31:22 +02:00
Laurențiu Nicola
bcf5f407fb Improve github-release action 2021-12-22 21:30:56 +02:00
Laurențiu Nicola
187c273585 Actually nightly releases to Matketplace 2021-12-22 07:44:04 +02:00
Laurențiu Nicola
2d9c14afb5 Build and publish pre-release Code extension versions 2021-12-20 20:58:09 +02:00
Laurențiu Nicola
9c74f646f4 Publish platform-specific Code VSIXes 2021-12-18 22:49:11 +02:00
Laurențiu Nicola
ff6081e629 Set MACOSX_DEPLOYMENT_TARGET to 10.15 to improve compat 2021-12-16 08:02:09 +02:00
Laurențiu Nicola
f694d7fa65 Refactor release workflow 2021-12-15 23:32:05 +02:00
Laurențiu Nicola
c6a8cc1cee Really switch XCode version 2021-12-15 14:44:45 +02:00
Laurențiu Nicola
ebaf7d39de Enable workflow_dispatch for release workflow 2021-12-15 13:54:18 +02:00
Laurențiu Nicola
d5de3b25d7 Use default XCode version 2021-12-15 13:36:36 +02:00
Laurențiu Nicola
e4e984325b Bump Node to 14 in release workflow 2021-12-04 12:45:08 +02:00
Aleksey Kladov
045be6545f minor: group -gnu builders together 2021-10-31 13:16:36 +03:00
Aleksey Kladov
a4b40e60cb feat: upgrade ubuntu builders
For `-gnu` triples, use 20.04, the current LTS. This upgrades the
required version of glibc. For musl, just use `latest` as, presumably,
we don't care about glibc version in that case.
2021-10-31 13:16:36 +03:00
Laurențiu Nicola
d6c162e40f Run apt-get update for AArch64 builds 2021-10-31 10:49:43 +02:00
Laurențiu Nicola
878dd9d3ad Use Ubuntu 18.04 on CI 2021-08-30 09:50:41 +03:00
Kirill Bulatov
c24bdab97e Use -u instead of --utc date flag 2021-04-26 17:12:13 +03:00
Aleksey Kladov
869ec5f97a fix: dont' misundentify nightly as stable in --version on Mac&Win
We used to set `--nightly` in CI, and only for linux. Let's detect this
in xtask instead.
2021-04-26 15:17:02 +03:00