Skip to content

Commit

Permalink
check if cross is populated (#7)
Browse files Browse the repository at this point in the history
* check if cross is populated

* add echo

* oops

* yeet
  • Loading branch information
ClementTsang authored Jun 14, 2023
1 parent b6e79fa commit 005ae7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 005ae7a

Please sign in to comment.