Skip to content

Commit

Permalink
remove ||
Browse files Browse the repository at this point in the history
  • Loading branch information
Benbentwo committed Dec 15, 2023
1 parent faa6886 commit 532edd6
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 @@ -31,6 +31,6 @@ runs:
${{ inputs.component }} \
-s ${{ inputs.stack }} \
--format json \
--file "$OUTPUT_FILE" || echo '{}' > "$OUTPUT_FILE"
--file "$OUTPUT_FILE"
value=$(jq -rc --arg key ${{ inputs.settings-path }} '. | getpath($key | split("."))' "$OUTPUT_FILE")
echo "value=$value" >> $GITHUB_OUTPUT

0 comments on commit 532edd6

Please sign in to comment.