Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #15523 - lnicola:bootstrap, r=lnicola
internal: Fix release workflow
bors 2023-08-28
parent 029baaa · parent a6f5356 · commit 144526c
-rw-r--r--.github/workflows/ci.yaml4
-rw-r--r--.github/workflows/release.yaml2
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 479ca23540..fb7b4b07f9 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -98,7 +98,9 @@ jobs:
- name: Run analysis-stats on rust std library
if: matrix.os == 'ubuntu-latest'
- run: RUSTC_BOOTSTRAP=1 target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
+ env:
+ RUSTC_BOOTSTRAP: 1
+ run: target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
# Weird targets to catch non-portable code
rust-cross:
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 43681c785f..b5dbe30c32 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -128,6 +128,8 @@ jobs:
- name: Run analysis-stats on rust std library
if: matrix.target == 'x86_64-unknown-linux-gnu'
+ env:
+ RUSTC_BOOTSTRAP: 1
run: target/${{ matrix.target }}/release/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
- name: Upload artifacts