From ed5b4ecd23d83232d56ca388e581761ac2e26376 Mon Sep 17 00:00:00 2001 From: 0penBrain <48731257+0penBrain@users.noreply.github.com> Date: Sun, 12 Feb 2023 16:27:46 +0100 Subject: [PATCH] CI: rename Ubuntu jobs in master workflow to clarify --- .github/workflows/CI_master.yml | 6 +++--- .github/workflows/sub_wrapup.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI_master.yml b/.github/workflows/CI_master.yml index 41f24e5c50..252c8058c8 100644 --- a/.github/workflows/CI_master.yml +++ b/.github/workflows/CI_master.yml @@ -37,13 +37,13 @@ jobs: with: artifactBasename: Prepare-${{ github.run_id }} - Build2004: + Ubuntu_20-04: needs: [Prepare] uses: ./.github/workflows/sub_buildUbuntu2004.yml with: artifactBasename: Build2004-${{ github.run_id }} - Build2204: + Ubuntu_22-04: needs: [Prepare] uses: ./.github/workflows/sub_buildUbuntu2204.yml with: @@ -59,7 +59,7 @@ jobs: changedPythonFiles: ${{ needs.Prepare.outputs.changedPythonFiles }} WrapUp: - needs: [Prepare, Build2004, Build2204, Lint] + needs: [Prepare, Ubuntu_20-04, Ubuntu_22-04, Lint] if: always() uses: ./.github/workflows/sub_wrapup.yml with: diff --git a/.github/workflows/sub_wrapup.yml b/.github/workflows/sub_wrapup.yml index 6d2083c4aa..8fea0ef654 100644 --- a/.github/workflows/sub_wrapup.yml +++ b/.github/workflows/sub_wrapup.yml @@ -66,7 +66,7 @@ jobs: for step in $(jq -r "keys_unsorted | .[]" data) do echo "Processing step $step" - result=$(jq -r ".$step.result" data) + result=$(jq -r ".\"$step\".result" data) icon=":heavy_check_mark:" if [ $result == 'failure' ] then @@ -87,7 +87,7 @@ jobs: then echo "Step was cancelled when executing, report may be incomplete" | tee -a report.md fi - report=$(jq -r ".$step.outputs.reportFile" data) + report=$(jq -r ".\"$step\".outputs.reportFile" data) if [ $report ] then echo "Report for step $step is $report"