Unverified Commit 32674690 authored by Jan Procházka's avatar Jan Procházka Committed by GitHub

fix(ci): Compare correct name of the artifact (#9708)

parent 62bf7191
...@@ -32,7 +32,7 @@ jobs: ...@@ -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
......
...@@ -46,7 +46,7 @@ jobs: ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment