Compare commits

..

1 commit

Author SHA1 Message Date
d684e1ea3a
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 4s
This should hopefully work on private repos too!
2025-05-13 21:21:11 +02:00

View file

@ -144,14 +144,14 @@ runs:
echo "run-id=$run_id" >> "$GITHUB_OUTPUT"
log Would try to download "$ARTIFACT_NAME" from "$run_id"
- name: Download previous report
uses: https://git.salame.cl/actions/download-artifact@d8d0a99033603453ad2255e58720b460a0555e1e # v4
# Ensure the previous step succeeded
if: steps.previous-report.outcome == 'success'
with:
name: ${{ inputs.artifact-name }}
github-token: ${{ inputs.github-token }}
run-id: ${{ steps.previous-report.outputs.run-id }}
# - name: Download previous report
# uses: https://git.salame.cl/actions/download-artifact@d8d0a99033603453ad2255e58720b460a0555e1e # v4
# # Ensure the previous step succeeded
# if: steps.previous-report.outcome == 'success'
# with:
# name: ${{ inputs.artifact-name }}
# github-token: ${{ inputs.github-token }}
# run-id: ${{ steps.previous-report.outputs.run-id }}
- name: Create report
if: inputs.comment-on-pr == 'true' || inputs.generate-artifact == 'true'
env:
@ -201,3 +201,11 @@ runs:
with:
path: report.json
name: ${{ inputs.artifact-name }}
- name: Download previous report
uses: https://git.salame.cl/actions/download-artifact@d8d0a99033603453ad2255e58720b460a0555e1e # v4
# Ensure the previous step succeeded
# if: steps.previous-report.outcome == 'success'
with:
name: ${{ inputs.artifact-name }}
# github-token: ${{ inputs.github-token }}
# run-id: ${{ steps.previous-report.outputs.run-id }}