Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Aug 16, 2024
1 parent ec4b61a commit 089a526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ runs:
# Combine the `executed_jobs` into the `artifact_jobs` data (left join) to produce list of jobs in the matrix.
# For more info on `jq`'s SQL style JOIN see: https://qmacro.org/blog/posts/2022/06/23/understanding-jq%27s-sql-style-operators-join-and-index/
matrix_jobs="$(jq -n --argjson aj "${artifact_jobs}" --argjson ej "${executed_jobs}" 'JOIN(INDEX($ej[]; .id); $aj[]; (.id | tostring); add)')"
matrix_jobs="$(jq -n --argjson aj "${artifact_jobs}" --argjson ej "${executed_jobs}" '[JOIN(INDEX($ej[]; .id); $aj[]; (.id | tostring); add)]')"
num_jobs="$(jq length <<<"${matrix_jobs}")"
num_running_jobs="$(jq 'map(select(.conclusion == null)) | length' <<<"${matrix_jobs}")"
Expand Down

0 comments on commit 089a526

Please sign in to comment.