Compare commits

..

1 commit

Author SHA1 Message Date
2ae888ad64
feat: use download-artifact instead of manually downloading it
Some checks failed
/ check (treefmt) (push) Successful in 3s
/ check-renovaterc (push) Successful in 2s
/ report-size (push) Failing after 1s
This should hopefully work on private repos too!
2025-05-13 20:44:42 +02:00

View file

@ -140,7 +140,7 @@ runs:
jq --raw-output \ jq --raw-output \
--arg name "$JOB_NAME" \ --arg name "$JOB_NAME" \
--arg head_branch "${BASE_BRANCH:-$(default_branch)}" \ --arg head_branch "${BASE_BRANCH:-$(default_branch)}" \
'[.workflow_runs[] | select(.name == $name and .head_branch == $head_branch)] | first | .id') '[.workflow_runs[] | select(.name == $name and .head_branch == $head_branch)] | first | .run_number')
echo "run-id=$run_id" >> "$GITHUB_OUTPUT" echo "run-id=$run_id" >> "$GITHUB_OUTPUT"
log Would try to download "$ARTIFACT_NAME" from "$run_id" log Would try to download "$ARTIFACT_NAME" from "$run_id"