From 51553e374cad5060c617c53a986323897e23b0fe Mon Sep 17 00:00:00 2001 From: Alexandru Placinta Date: Wed, 1 Nov 2023 20:31:48 +0100 Subject: [PATCH] Fix test --- .github/workflows/test_stable_nightly.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test_stable_nightly.yml b/.github/workflows/test_stable_nightly.yml index 6a1073de..e37e705f 100644 --- a/.github/workflows/test_stable_nightly.yml +++ b/.github/workflows/test_stable_nightly.yml @@ -32,10 +32,10 @@ jobs: CARGO: ${{ steps.toolchain.outputs.cargo }} RUSTUP: ${{ steps.toolchain.outputs.rustup }} run: | - echo "$RUSTC" && test "$RUSTC" - echo "$RUSTC_HASH" && test "$RUSTC_HASH" - echo "$CARGO" && test "$CARGO" - echo "$RUSTUP" && test "$RUSTUP" + echo "$RUSTC" && test "$RUSTC" != "" + echo "$RUSTC_HASH" && test "$RUSTC_HASH" != "" + echo "$CARGO" && test "$CARGO" != "" + echo "$RUSTUP" && test "$RUSTUP" != "" install_in_docker: runs-on: ubuntu-latest strategy: @@ -68,7 +68,7 @@ jobs: CARGO: ${{ steps.toolchain.outputs.cargo }} RUSTUP: ${{ steps.toolchain.outputs.rustup }} run: | - echo "$RUSTC" && test "$RUSTC" - echo "$RUSTC_HASH" && test "$RUSTC_HASH" - echo "$CARGO" && test "$CARGO" - echo "$RUSTUP" && test "$RUSTUP" + echo "$RUSTC" && test "$RUSTC" != "" + echo "$RUSTC_HASH" && test "$RUSTC_HASH" != "" + echo "$CARGO" && test "$CARGO" != "" + echo "$RUSTUP" && test "$RUSTUP" != ""