Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 144526c

Browse files
committed
Auto merge of rust-lang#15523 - lnicola:bootstrap, r=lnicola
internal: Fix release workflow
2 parents 029baaa + a6f5356 commit 144526c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ jobs:
9898

9999
- name: Run analysis-stats on rust std library
100100
if: matrix.os == 'ubuntu-latest'
101-
run: RUSTC_BOOTSTRAP=1 target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
101+
env:
102+
RUSTC_BOOTSTRAP: 1
103+
run: target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
102104

103105
# Weird targets to catch non-portable code
104106
rust-cross:

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ jobs:
128128

129129
- name: Run analysis-stats on rust std library
130130
if: matrix.target == 'x86_64-unknown-linux-gnu'
131+
env:
132+
RUSTC_BOOTSTRAP: 1
131133
run: target/${{ matrix.target }}/release/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
132134

133135
- name: Upload artifacts

0 commit comments

Comments
 (0)