Skip to content

Commit 49d431b

Browse files
authored
Merge branch 'master' into fix/ethernet
2 parents 904def5 + 38ee3e7 commit 49d431b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/publishlib.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
# It's convenient to set variables for values used multiple times in the workflow
1212
SKETCHES_REPORTS_PATH: artifacts/libraries-report
1313
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
14-
PR_EVENT_PATH: artifacts/Event File/event.json
14+
PR_EVENT_PATH: artifacts/event-file/event.json
1515

1616
jobs:
1717
lib-test-results:
@@ -26,13 +26,18 @@ jobs:
2626
run: |
2727
mkdir -p artifacts && cd artifacts
2828
mkdir -p libraries-report
29+
mkdir -p event-file
2930
artifacts_url=${{ github.event.workflow_run.artifacts_url }}
3031
gh api "$artifacts_url" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact
3132
do
3233
IFS=$'\t' read name url <<< "$artifact"
3334
gh api $url > "$name.zip"
3435
unzip -j "$name.zip" -d "temp_$name"
35-
mv "temp_$name"/* libraries-report
36+
if [[ "$name" == "Event File" ]]; then
37+
mv "temp_$name"/* event-file
38+
else
39+
mv "temp_$name"/* libraries-report
40+
fi
3641
rm -r "temp_$name"
3742
if [[ "$name" == "event.json" ]]; then
3843
mkdir -p artifacts/Event\ file

.github/workflows/publishsizes.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
# It's convenient to set variables for values used multiple times in the workflow
1212
SKETCHES_REPORTS_PATH: artifacts/sizes-report
1313
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
14-
PR_EVENT_PATH: artifacts/Event File/event.json
14+
PR_EVENT_PATH: artifacts/event-file/event.json
1515

1616
jobs:
1717
lib-test-results:
@@ -40,8 +40,6 @@ jobs:
4040
fi
4141
rm -r "temp_$name"
4242
done
43-
echo "Contents of 'sizes-report':"
44-
ls -R sizes-report
4543
echo "Contents of parent directory:"
4644
ls -R ..
4745

0 commit comments

Comments
 (0)