about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-28 07:24:24 +0000
committerbors <bors@rust-lang.org>2023-08-28 07:24:24 +0000
commit144526c90840e84e799ee06c6cea5c573cf4fdf2 (patch)
tree6dbdab41f10264b330765da2b5467e34ef969758
parent029baaad2269b03ea73fe1a651dbcf2e173de087 (diff)
parenta6f53567b092be24a5425e8d575175c8c89a03c0 (diff)
downloadrust-144526c90840e84e799ee06c6cea5c573cf4fdf2.tar.gz
rust-144526c90840e84e799ee06c6cea5c573cf4fdf2.zip
Auto merge of #15523 - lnicola:bootstrap, r=lnicola
internal: Fix release workflow
-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 479ca235408..fb7b4b07f98 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 43681c785fd..b5dbe30c322 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