This repository was archived by the owner on Aug 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5757 env :
5858 GITHUB_TOKEN : ${{ secrets.PRO_ACCESS_TOKEN }}
5959 REPOSITORY_NAME : localstack-ext
60- ARTIFACT_ID : parity-metric-ext-raw
60+ ARTIFACT_ID : parity-metric-ext-raw-*
6161 WORKFLOW : " Build, Test, Push"
6262 PREFIX_ARTIFACT : pro-integration-test
6363
Original file line number Diff line number Diff line change 5151echo " Trying to download file with runid $RUN_ID ..."
5252
5353# we do not want to exit if this command fails -> using or true
54- gh run download $RUN_ID --repo $REPOSITORY_OWNER /$REPOSITORY_NAME -n $ARTIFACT_ID -D $TMP_FOLDER || true
54+ gh run download $RUN_ID --repo $REPOSITORY_OWNER /$REPOSITORY_NAME -p " $ARTIFACT_ID " -D $TMP_FOLDER || true
5555
5656# count the files with the pattern (we do not know the exact name) to check if we downloaded something
5757if [ 0 -lt $( ls $TMP_FOLDER 2> /dev/null | wc -w) ]; then
@@ -91,10 +91,10 @@ echo "Moving artifact to $TARGET_FOLDER"
9191mkdir -p $TARGET_FOLDER
9292if [[ -z " ${PREFIX_ARTIFACT} " ]]; then
9393 # pro implementation_coverage artifact download has a subfolder "pro"
94- cp -R $TMP_FOLDER /* $TARGET_FOLDER
94+ cp -R $TMP_FOLDER /** / * $TARGET_FOLDER
9595else
9696 # metrics-raw-data artifacts -> we are only want to keept the csv and rename it
97- for file in $TMP_FOLDER /* .csv; do
97+ for file in $TMP_FOLDER /** / * .csv; do
9898 org_file_name=$( echo $file | sed " s/.*\///" )
9999 mv -- " $file " " $TARGET_FOLDER /$PREFIX_ARTIFACT -$org_file_name "
100100 done
You can’t perform that action at this time.
0 commit comments