diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index e5b76da1..e32da4c5 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -206,7 +206,11 @@ jobs: json_data=$(curl -s -H "Authorization: Bearer ${{ github.token }}" \ "https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs") - name_conclusion_array=($(echo "$json_data" | jq -r '.jobs[] | select(.name | startswith("job-matrix")) | "\(.name).\(.conclusion)"')) + + name_conclusion_array=($(echo "$json_data" | jq -r ' + .jobs[] | + select(.name | IN("macos-arm64", "linux", "windows", "switch", "macos-x64")) | + "\(.name).\(.conclusion)"')) for item in "${name_conclusion_array[@]}"; do IFS='.' read -r name conclusion <<< "$item"