Compare commits
1 commit
e2bc66d22c
...
d684e1ea3a
Author | SHA1 | Date | |
---|---|---|---|
d684e1ea3a |
1 changed files with 16 additions and 8 deletions
24
action.yml
24
action.yml
|
@ -144,14 +144,14 @@ runs:
|
||||||
|
|
||||||
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"
|
||||||
- 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
|
||||||
if: steps.previous-report.outcome == 'success'
|
# if: steps.previous-report.outcome == 'success'
|
||||||
with:
|
# with:
|
||||||
name: ${{ inputs.artifact-name }}
|
# name: ${{ inputs.artifact-name }}
|
||||||
github-token: ${{ inputs.github-token }}
|
# github-token: ${{ inputs.github-token }}
|
||||||
run-id: ${{ steps.previous-report.outputs.run-id }}
|
# run-id: ${{ steps.previous-report.outputs.run-id }}
|
||||||
- name: Create report
|
- name: Create report
|
||||||
if: inputs.comment-on-pr == 'true' || inputs.generate-artifact == 'true'
|
if: inputs.comment-on-pr == 'true' || inputs.generate-artifact == 'true'
|
||||||
env:
|
env:
|
||||||
|
@ -201,3 +201,11 @@ runs:
|
||||||
with:
|
with:
|
||||||
path: report.json
|
path: report.json
|
||||||
name: ${{ inputs.artifact-name }}
|
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 }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue