Skip to content

Commit

Permalink
chore(green-coding-solutions#7): no idea
Browse files Browse the repository at this point in the history
  • Loading branch information
jreimone committed Apr 14, 2023
1 parent a6e5942 commit b9ebb4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/data-json-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
if [ '${{ steps.data-node-setup.outputs.data-lap-json }}' == '' ]; then
echo "Output must not be empty"; exit 1;
fi
if [ $(echo '${{ steps.data-node-setup.outputs.data-lap-json }}' | jq -er 'has("repository", "branch", "workflow", "run_id", "label", "cpu_avg_percent", "energy_joules", "power_avg_watts") | if . then 1 else 0 end') -eq 1 ]; then
if [ "$(echo '${{ steps.data-node-setup.outputs.data-lap-json }}' | jq -er 'has("repository", "branch", "workflow", "run_id", "label", "cpu_avg_percent", "energy_joules", "power_avg_watts") | if . then 1 else 0 end')" -eq 1 ]; then
echo "output has correct structure"
else
echo "output has wrong structure"
Expand Down

0 comments on commit b9ebb4a

Please sign in to comment.