File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,14 @@ jobs:
25
25
- name : Download and Extract Artifacts
26
26
run : |
27
27
mkdir -p artifacts && cd artifacts
28
+ mkdir -p libraries-report
28
29
artifacts_url=${{ github.event.workflow_run.artifacts_url }}
29
30
gh api "$artifacts_url" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact
30
31
do
31
32
IFS=$'\t' read name url <<< "$artifact"
32
33
gh api $url > "$name.zip"
33
34
unzip -j "$name.zip" -d "temp_$name"
34
- mv "temp_$name"/* ${{ env.SKETCHES_REPORTS_PATH }}/
35
+ mv "temp_$name"/* libraries-report
35
36
rm -r "temp_$name"
36
37
done
37
38
echo "Contents of 'libraries-report':"
Original file line number Diff line number Diff line change @@ -25,15 +25,20 @@ jobs:
25
25
- name : Download and Extract Artifacts
26
26
run : |
27
27
mkdir -p artifacts && cd artifacts
28
+ mkdir -p sizes-report
28
29
artifacts_url=${{ github.event.workflow_run.artifacts_url }}
29
30
gh api "$artifacts_url" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact
30
31
do
31
32
IFS=$'\t' read name url <<< "$artifact"
32
33
gh api $url > "$name.zip"
33
34
unzip -j "$name.zip" -d "temp_$name"
34
- mv "temp_$name"/* ${{ env.SKETCHES_REPORTS_PATH }} /
35
+ mv "temp_$name"/* sizes-report /
35
36
rm -r "temp_$name"
36
37
done
38
+ echo "Contents of 'sizes-report':"
39
+ ls -R sizes-report
40
+ echo "Contents of parent directory:"
41
+ ls -R ..
37
42
38
43
- name : Report results
39
44
uses : P-R-O-C-H-Y/report-size-deltas@sizes
You can’t perform that action at this time.
0 commit comments