mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2025-07-04 12:31:11 +00:00
Restore behavior to not touch existing RUSTFLAGS variable
Add changelog
This commit is contained in:
parent
70241ab2e9
commit
1ef811fbfb
3 changed files with 13 additions and 5 deletions
|
@ -80,7 +80,7 @@ runs:
|
|||
if [[ ! -v RUST_BACKTRACE ]]; then
|
||||
echo "RUST_BACKTRACE=short" >> $GITHUB_ENV
|
||||
fi
|
||||
if [[ "$NEW_RUSTFLAGS" != "" ]]; then
|
||||
if [[ ( ! -v RUSTFLAGS ) && $NEW_RUSTFLAGS != "" ]]; then
|
||||
echo "RUSTFLAGS=$NEW_RUSTFLAGS" >> $GITHUB_ENV
|
||||
fi
|
||||
# Enable faster sparse index on nightly
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue