Skip to content

Commit a9a7b90

Browse files
committed
Remove unused variable
1 parent 6fe20d9 commit a9a7b90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-output.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ jobs:
117117
fi
118118
119119
## Check if the JSON output file exists and validate its contents
120+
121+
cat "$JSON_OUTPUT_PATH"
120122
121123
if [[ ! -f "$JSON_OUTPUT_PATH" ]]; then
122124
echo "::error:: JSON output file not found at $JSON_OUTPUT_PATH"
@@ -149,8 +151,6 @@ jobs:
149151
exit 1
150152
fi
151153
152-
# Validate list becomes array (preserves order)
153-
JSON_MY_LIST=$(jq -c '.my_list' "$JSON_OUTPUT_PATH")
154154
# List from tolist(toset()) may have different order, so check elements exist
155155
JSON_MY_LIST_HAS_ONE=$(jq -r '.my_list | contains(["one"])' "$JSON_OUTPUT_PATH")
156156
JSON_MY_LIST_HAS_TWO=$(jq -r '.my_list | contains(["two"])' "$JSON_OUTPUT_PATH")

0 commit comments

Comments
 (0)