We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdcbd39 commit d858436Copy full SHA for d858436
actions/get-resource/action.yml
@@ -47,10 +47,12 @@ runs:
47
echo "$line"
48
done
49
50
- for output in $required_outputs; do
51
- echo "Checking for output: $output"
52
- if ! grep -q "^$output=" $GITHUB_OUTPUT; then
53
- echo "Required output \"$output\" not found in outputs."
54
- exit 1
+ echo "${{ inputs.required_outputs }}" | while read -r output; do
+ if [ ! -z "$output" ]; then
+ echo "Checking for output: $output"
+ if ! grep -q "^$output=" $GITHUB_OUTPUT; then
+ echo "Required output \"$output\" not found in outputs."
55
+ exit 1
56
+ fi
57
fi
58
0 commit comments