Skip to content

Commit 8fef6ed

Browse files
committed
update bash
1 parent 474eb21 commit 8fef6ed

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/publishlib.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ jobs:
2525
- name: Download and Extract Artifacts
2626
run: |
2727
mkdir -p artifacts && cd artifacts
28+
mkdir -p libraries-report
2829
artifacts_url=${{ github.event.workflow_run.artifacts_url }}
2930
gh api "$artifacts_url" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact
3031
do
3132
IFS=$'\t' read name url <<< "$artifact"
3233
gh api $url > "$name.zip"
3334
unzip -j "$name.zip" -d "temp_$name"
34-
mv "temp_$name"/* ${{ env.SKETCHES_REPORTS_PATH }}/
35+
mv "temp_$name"/* libraries-report
3536
rm -r "temp_$name"
3637
done
3738
echo "Contents of 'libraries-report':"

.github/workflows/publishsizes.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,20 @@ jobs:
2525
- name: Download and Extract Artifacts
2626
run: |
2727
mkdir -p artifacts && cd artifacts
28+
mkdir -p sizes-report
2829
artifacts_url=${{ github.event.workflow_run.artifacts_url }}
2930
gh api "$artifacts_url" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact
3031
do
3132
IFS=$'\t' read name url <<< "$artifact"
3233
gh api $url > "$name.zip"
3334
unzip -j "$name.zip" -d "temp_$name"
34-
mv "temp_$name"/* ${{ env.SKETCHES_REPORTS_PATH }}/
35+
mv "temp_$name"/* sizes-report/
3536
rm -r "temp_$name"
3637
done
38+
echo "Contents of 'sizes-report':"
39+
ls -R sizes-report
40+
echo "Contents of parent directory:"
41+
ls -R ..
3742
3843
- name: Report results
3944
uses: P-R-O-C-H-Y/report-size-deltas@sizes

0 commit comments

Comments
 (0)