Compare commits

..

1 commit

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

View file

@ -120,7 +120,6 @@ runs:
env: env:
BASE_BRANCH: ${{ inputs.base-branch }} BASE_BRANCH: ${{ inputs.base-branch }}
JOB_NAME: ${{ inputs.job-name }} JOB_NAME: ${{ inputs.job-name }}
ARTIFACT_NAME: ${{ inputs.artifact-name }}
run: | run: |
. "${GITHUB_ACTION_PATH}/utils.sh" . "${GITHUB_ACTION_PATH}/utils.sh"
@ -143,7 +142,6 @@ runs:
'[.workflow_runs[] | select(.name == $name and .head_branch == $head_branch)] | first | .id') '[.workflow_runs[] | select(.name == $name and .head_branch == $head_branch)] | first | .id')
echo "run-id=$run_id" >> "$GITHUB_OUTPUT" echo "run-id=$run_id" >> "$GITHUB_OUTPUT"
log Would try to download "$ARTIFACT_NAME" from "$run_id"
- name: Download previous report - name: Download previous report
uses: https://git.salame.cl/actions/download-artifact@d8d0a99033603453ad2255e58720b460a0555e1e # v4 uses: https://git.salame.cl/actions/download-artifact@d8d0a99033603453ad2255e58720b460a0555e1e # v4
# Ensure the previous step succeeded # Ensure the previous step succeeded