From 005ae7a1ac7ec1689e35d2b374751a6cee066470 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Wed, 14 Jun 2023 05:29:12 +0000 Subject: [PATCH] check if cross is populated (#7) * check if cross is populated * add echo * oops * yeet --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 5bd8eb2..77b8a7c 100644 --- a/action.yml +++ b/action.yml @@ -47,7 +47,7 @@ runs: shell: bash run: | # Assign inputs to variables if needed - if [[ "${{inputs.use-cross}}" == false ]]; then + if [[ -z "${{inputs.use-cross}}" || "${{inputs.use-cross}}" != "true" ]]; then echo "invoker=cargo" >> $GITHUB_OUTPUT; else echo "invoker=cross" >> $GITHUB_OUTPUT;