From 3352dc2859f7ecd92825f114d787b30feda6ca25 Mon Sep 17 00:00:00 2001 From: Jan Date: Fri, 14 Apr 2023 09:52:40 +0200 Subject: [PATCH] chore(#7): next try --- .github/workflows/data-json-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/data-json-test.yml b/.github/workflows/data-json-test.yml index aa1e8f88..3a68d596 100644 --- a/.github/workflows/data-json-test.yml +++ b/.github/workflows/data-json-test.yml @@ -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 -e '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 -e '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"