From 0d5d3e47f48ab5e59f8e109f614b145e57712313 Mon Sep 17 00:00:00 2001 From: Dextinfire <> Date: Sun, 8 Sep 2024 15:36:04 -0700 Subject: [PATCH] discordo --- .github/workflows/pipeline.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"