mirror of
https://github.com/espressif/arduino-esp32
synced 2024-09-21 10:28:04 +00:00
fix(ci): Compare correct name of the artifact (#9708)
This commit is contained in:
parent
62bf719186
commit
3267469015
2
.github/workflows/publishlib.yml
vendored
2
.github/workflows/publishlib.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
|||||||
IFS=$'\t' read name url <<< "$artifact"
|
IFS=$'\t' read name url <<< "$artifact"
|
||||||
gh api $url > "$name.zip"
|
gh api $url > "$name.zip"
|
||||||
unzip -j "$name.zip" -d "temp_$name"
|
unzip -j "$name.zip" -d "temp_$name"
|
||||||
if [[ "$name" == "pr_num" ]]; then
|
if [[ "$name" == "pr_number" ]]; then
|
||||||
mv "temp_$name"/* workflows
|
mv "temp_$name"/* workflows
|
||||||
else
|
else
|
||||||
mv "temp_$name"/* libraries-report
|
mv "temp_$name"/* libraries-report
|
||||||
|
2
.github/workflows/publishsizes.yml
vendored
2
.github/workflows/publishsizes.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
IFS=$'\t' read name url <<< "$artifact"
|
IFS=$'\t' read name url <<< "$artifact"
|
||||||
gh api $url > "$name.zip"
|
gh api $url > "$name.zip"
|
||||||
unzip -j "$name.zip" -d "temp_$name"
|
unzip -j "$name.zip" -d "temp_$name"
|
||||||
if [[ "$name" == "pr_num" ]]; then
|
if [[ "$name" == "pr_number" ]]; then
|
||||||
mv "temp_$name"/* sizes-report
|
mv "temp_$name"/* sizes-report
|
||||||
elif [[ "$name" == "pr_cli"* ]]; then
|
elif [[ "$name" == "pr_cli"* ]]; then
|
||||||
mv "temp_$name"/* sizes-report/pr
|
mv "temp_$name"/* sizes-report/pr
|
||||||
|
Loading…
Reference in New Issue
Block a user