From 3d6a1d9bdf2d844aec73f651d82e7672da7756fb Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Fri, 19 Dec 2025 14:10:54 +0100 Subject: [PATCH] fix: properly check for allow_empty input --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 088df2a..29b6eb6 100644 --- a/action.yml +++ b/action.yml @@ -178,7 +178,7 @@ runs: if [ "${{ inputs.cache-instruments }}" = "true" ] && [ -n "${{ inputs.instruments-cache-dir }}" ]; then RUNNER_ARGS="$RUNNER_ARGS --setup-cache-dir=${{ inputs.instruments-cache-dir }}" fi - if [ -n "${{ inputs.allow-empty }}" ]; then + if [ "${{ inputs.allow-empty }}" = "true" ]; then RUNNER_ARGS="$RUNNER_ARGS --allow-empty" fi