Compare commits
1 commit
d684e1ea3a
...
74dfb24f5c
Author | SHA1 | Date | |
---|---|---|---|
74dfb24f5c |
2 changed files with 15 additions and 9 deletions
|
@ -34,9 +34,23 @@ jobs:
|
||||||
# Create a comment on the associated PR
|
# Create a comment on the associated PR
|
||||||
comment-on-pr: ${{ github.ref_name != 'main' }}
|
comment-on-pr: ${{ github.ref_name != 'main' }}
|
||||||
# Generate artifacts on main (to speed up comparisons)
|
# Generate artifacts on main (to speed up comparisons)
|
||||||
generate-artifact: ${{ github.ref_name == 'main' }}
|
# generate-artifact: ${{ github.ref_name == 'main' }}
|
||||||
|
# For testing always generate artifacts
|
||||||
|
generate-artifact: 'true'
|
||||||
github-token: ${{ secrets.ARTIFACT_TOKEN }}
|
github-token: ${{ secrets.ARTIFACT_TOKEN }}
|
||||||
# Generate comparisons to main
|
# Generate comparisons to main
|
||||||
do-comparison: 'true'
|
do-comparison: 'true'
|
||||||
# This job's name (so we can find the artifacts)
|
# This job's name (so we can find the artifacts)
|
||||||
job-name: report-size
|
job-name: report-size
|
||||||
|
report-download-check:
|
||||||
|
runs-on: nixos
|
||||||
|
needs: report-size
|
||||||
|
steps:
|
||||||
|
- 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 }}
|
||||||
|
|
|
@ -201,11 +201,3 @@ 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