Skip to content

Commit 3d6a1d9

Browse files
fix: properly check for allow_empty input
1 parent 46b6081 commit 3d6a1d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ runs:
178178
if [ "${{ inputs.cache-instruments }}" = "true" ] && [ -n "${{ inputs.instruments-cache-dir }}" ]; then
179179
RUNNER_ARGS="$RUNNER_ARGS --setup-cache-dir=${{ inputs.instruments-cache-dir }}"
180180
fi
181-
if [ -n "${{ inputs.allow-empty }}" ]; then
181+
if [ "${{ inputs.allow-empty }}" = "true" ]; then
182182
RUNNER_ARGS="$RUNNER_ARGS --allow-empty"
183183
fi
184184

0 commit comments

Comments
 (0)