Auto merge of #15523 - lnicola:bootstrap, r=lnicola

internal: Fix release workflow
This commit is contained in:
bors 2023-08-28 07:24:24 +00:00
commit 144526c908
2 changed files with 5 additions and 1 deletions

View File

@ -98,7 +98,9 @@ jobs:
- name: Run analysis-stats on rust std library - name: Run analysis-stats on rust std library
if: matrix.os == 'ubuntu-latest' 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 # Weird targets to catch non-portable code
rust-cross: rust-cross:

View File

@ -128,6 +128,8 @@ jobs:
- name: Run analysis-stats on rust std library - name: Run analysis-stats on rust std library
if: matrix.target == 'x86_64-unknown-linux-gnu' 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 run: target/${{ matrix.target }}/release/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
- name: Upload artifacts - name: Upload artifacts