From 3f4565907d2612d1726d95dcdcc7765d90836d07 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sun, 16 May 2021 16:33:09 -0400 Subject: [PATCH] Update action.yml (#73) --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index e3d5e63e..7b8b5f6e 100644 --- a/action.yml +++ b/action.yml @@ -147,7 +147,7 @@ runs: echo "Input files: ${ALL_INPUT_FILES[@]}" echo "Matching modified files: ${ALL_MODIFIED_FILES[@]}" - if [[ ${#ALL_MODIFIED_FILES[@]} -gt 0 ]]; then + if [[ -n "$ALL_MODIFIED_FILES" ]]; then echo "::set-output name=any_changed::true" else echo "::set-output name=any_changed::false"