From 532edd6921b72731bfd83e9f206058023d2598fb Mon Sep 17 00:00:00 2001 From: Benjamin Smith Date: Fri, 15 Dec 2023 12:51:24 -0800 Subject: [PATCH] remove || --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 97b35c4..7182035 100644 --- a/action.yml +++ b/action.yml @@ -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