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" != ""