From 823a4a135dd7e1bcfc03717aeb5360a52f26916a Mon Sep 17 00:00:00 2001 From: Jean Mertz Date: Fri, 19 May 2023 12:10:05 +0200 Subject: [PATCH] fixes --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index bdff1c4..f6a4d7b 100644 --- a/action.yml +++ b/action.yml @@ -80,8 +80,8 @@ runs: if [[ ! -v RUST_BACKTRACE ]]; then echo "RUST_BACKTRACE=short" >> $GITHUB_ENV fi - if [[ -v "$NEW_RUSTFLAGS" ]]; then - echo "RUSTFLAGS="$NEW_RUSTFLAGS" >> $GITHUB_ENV + if [[ -v NEW_RUSTFLAGS ]]; then + echo "RUSTFLAGS=$NEW_RUSTFLAGS" >> $GITHUB_ENV fi # Enable faster sparse index on nightly # The value is ignored on stable and causes no problems