From 2391b39ad9e7b993a99e320561745884dbc9bea8 Mon Sep 17 00:00:00 2001 From: aboyko Date: Thu, 5 Sep 2024 15:01:04 -0400 Subject: [PATCH] Test GChat eclipse distro message corrections --- .../workflows/test-eclipse-distro-gchat-notification.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-eclipse-distro-gchat-notification.yml b/.github/workflows/test-eclipse-distro-gchat-notification.yml index 2ef0c52a7..52554ef05 100644 --- a/.github/workflows/test-eclipse-distro-gchat-notification.yml +++ b/.github/workflows/test-eclipse-distro-gchat-notification.yml @@ -39,7 +39,7 @@ jobs: run: | echo "P2 Update Site: ${DOWNLOAD_URL_ROOT}/${{ inputs.p2_path }}" downloads_md="sts4-distro-downloads-${{ inputs.eclipse_profile }}.txt" - rm -f ./${downloads_html} + rm -f ./$downloads_md s3_url=s3://${AWS_S3_BUCKET}/${{ inputs.dist_path }} files=`aws s3 cp ${s3_url} . --recursive --exclude "*" --include "spring-tool-suite-4*.zip" --include "spring-tool-suite-4*.dmg" --include "spring-tool-suite-4*.self-extracting.jar" --include "spring-tool-suite-4*.tar.gz" --exclude "*/*" --dryrun` s3_url_prefix="s3://${AWS_S3_BUCKET}" @@ -49,9 +49,9 @@ jobs: if [[ "$file" =~ ^"${s3_url_prefix}" ]]; then download_url=${DOWNLOAD_URL_ROOT}${file:$s3_url_prefix_length} filename=${file:${#s3_url}+1} - echo '${filename}' >> $downloads_html + echo '${filename}' >> $$downloads_md fi done - cat ./$downloads_html - rm -f ./${downloads_html} + cat ./$$downloads_md + rm -f ./$downloads_md