Skip to content

Commit acbf7f4

Browse files
committed
Workflows: Made artifact naming better
1 parent ffb2030 commit acbf7f4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build-push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Download the artifact for main
5050
uses: actions/download-artifact@v4
5151
with:
52-
name: lighthouse-reports
52+
name: lighthouse-reports-main
5353
path: ./main-report
5454
- name: Move the main report artifact to same directory as pr report
5555
run: |
@@ -87,6 +87,6 @@ jobs:
8787
- uses: actions/upload-artifact@v4
8888
if: ${{ !cancelled() }}
8989
with:
90-
name: lighthouse-reports
91-
path: lighthouse-reports/
90+
name: lighthouse-reports-pr
91+
path: lighthouse-reports/pr-report.json
9292
retention-days: 3

.github/workflows/lighthouse.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ jobs:
3838
node performance/lighthouse-script.js
3939
- uses: actions/upload-artifact@v4
4040
with:
41-
name: lighthouse-reports
42-
path: lighthouse-reports/
41+
name: lighthouse-reports-main
42+
path: lighthouse-reports/main-report.json
4343
retention-days: 30

0 commit comments

Comments
 (0)