5151 CLOUDFLARE_CACHE_TOKEN : ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}
5252 run : |
5353 echo "S3 Aggregate Update Sites Creation..."
54- dirs=`aws s3 ls s3://${AWS_S3_BUCKET}/release/TOOLS/sts4/ update/${{ inputs.version }}/`
54+ dirs=`aws s3 ls s3://${AWS_S3_BUCKET}/release/update/${{ inputs.version }}/`
5555 echo "${dirs}"
5656 pattern='^e[0-9]+.[0-9]+/$'
5757 invalid_urls=""
@@ -60,25 +60,25 @@ jobs:
6060 if [[ "$dir" =~ $pattern ]]; then
6161 echo "Found ${dir}"
6262 dir_name=${dir:0:-1}
63- site_url="${DOWNLOAD_URL_ROOT}/release/TOOLS/sts5/ update/${{ inputs.version }}/${dir_name}"
63+ site_url="${DOWNLOAD_URL_ROOT}/release/update/${{ inputs.version }}/${dir_name}"
6464 ${{ github.workspace }}/.github/scripts/generate-composite-site-files.sh ${{ steps.timestamp.outputs.date }} $site_url $dir_name
6565 cat ./compositeArtifacts.xml
6666 cat ./compositeContent.xml
6767 if [[ ${dir_name} == ${{ inputs.latest }} ]]; then
68- aws s3 cp ./compositeArtifacts.xml s3://${AWS_S3_BUCKET}/release/TOOLS/sts5/ update/latest/ --checksum-algorithm CRC32
69- invalid_urls+="${DOWNLOAD_URL_ROOT}/release/TOOLS/sts5/ update/latest/compositeArtifacts.xml "
70- aws s3 cp ./compositeContent.xml s3://${AWS_S3_BUCKET}/release/TOOLS/sts5/ update/latest/ --checksum-algorithm CRC32
71- invalid_urls+="${DOWNLOAD_URL_ROOT}/release/TOOLS/sts5/ update/latest/compositeContent.xml "
72- aws s3 cp ./p2.index s3://${AWS_S3_BUCKET}/release/TOOLS/sts5/ update/latest/ --checksum-algorithm CRC32
73- invalid_urls+="${DOWNLOAD_URL_ROOT}/release/TOOLS/sts5/ update/latest/p2.index "
68+ aws s3 cp ./compositeArtifacts.xml s3://${AWS_S3_BUCKET}/release/update/latest/ --checksum-algorithm CRC32
69+ invalid_urls+="${DOWNLOAD_URL_ROOT}/release/update/latest/compositeArtifacts.xml "
70+ aws s3 cp ./compositeContent.xml s3://${AWS_S3_BUCKET}/release/update/latest/ --checksum-algorithm CRC32
71+ invalid_urls+="${DOWNLOAD_URL_ROOT}/release/update/latest/compositeContent.xml "
72+ aws s3 cp ./p2.index s3://${AWS_S3_BUCKET}/release/update/latest/ --checksum-algorithm CRC32
73+ invalid_urls+="${DOWNLOAD_URL_ROOT}/release/update/latest/p2.index "
7474 echo "TODO: Purge Cache"
7575 fi
76- aws s3 mv ./compositeArtifacts.xml s3://${AWS_S3_BUCKET}/release/TOOLS/sts5/ update/${dir} --checksum-algorithm CRC32
77- invalid_urls+="${DOWNLOAD_URL_ROOT}/release/TOOLS/sts5/ update/${dir_name}/compositeArtifacts.xml "
78- aws s3 mv ./compositeContent.xml s3://${AWS_S3_BUCKET}/release/TOOLS/sts5/ update/${dir} --checksum-algorithm CRC32
79- invalid_urls+="${DOWNLOAD_URL_ROOT}/release/TOOLS/sts5/ update/${dir_name}/compositeContent.xml "
80- aws s3 mv ./p2.index s3://${AWS_S3_BUCKET}/release/TOOLS/sts5/ update/${dir} --checksum-algorithm CRC32
81- invalid_urls+="${DOWNLOAD_URL_ROOT}/release/TOOLS/sts5/ update/${dir_name}/p2.index "
76+ aws s3 mv ./compositeArtifacts.xml s3://${AWS_S3_BUCKET}/release/update/${dir} --checksum-algorithm CRC32
77+ invalid_urls+="${DOWNLOAD_URL_ROOT}/release/update/${dir_name}/compositeArtifacts.xml "
78+ aws s3 mv ./compositeContent.xml s3://${AWS_S3_BUCKET}/release/update/${dir} --checksum-algorithm CRC32
79+ invalid_urls+="${DOWNLOAD_URL_ROOT}/release/update/${dir_name}/compositeContent.xml "
80+ aws s3 mv ./p2.index s3://${AWS_S3_BUCKET}/release/update/${dir} --checksum-algorithm CRC32
81+ invalid_urls+="${DOWNLOAD_URL_ROOT}/release/update/${dir_name}/p2.index "
8282 fi
8383 done
8484 echo "invalid_urls=$invalid_urls" >> $GITHUB_OUTPUT
0 commit comments