From b91f3290d90fa47e89a7e1adf8e4799d600f6c48 Mon Sep 17 00:00:00 2001 From: aboyko Date: Tue, 23 Jul 2024 10:11:18 -0400 Subject: [PATCH] [GHA] Fix aggregate update site distro workflow fixes --- .github/workflows/aggregate-distro-update-sites.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/aggregate-distro-update-sites.yml b/.github/workflows/aggregate-distro-update-sites.yml index 052195e8e..bf129d4bc 100644 --- a/.github/workflows/aggregate-distro-update-sites.yml +++ b/.github/workflows/aggregate-distro-update-sites.yml @@ -11,6 +11,16 @@ on: description: Latest eclipse release version (i.e. e4.28) required: true type: string + workflow_dispatch: + inputs: + version: + description: Version suffix in S3 (i.e. 4.19.1.RELEASE) + required: true + type: string + latest: + description: Latest eclipse release version (i.e. e4.28) + required: true + type: string env: AWS_ACCESS_KEY_ID: ${{ secrets.CDN_S3_ACCESS_KEY }} @@ -51,7 +61,7 @@ jobs: echo "Found ${dir}" dir_name=${dir:0:-1} site_url="${DOWNLOAD_URL_ROOT}/release/TOOLS/sts4/update/${{ inputs.version }}/${dir_name}" - if [[ ${dir_name} == "e4.30" ]] || ; then + if [[ ${dir_name} == "e4.30" ]]; then ${{ github.workspace }}/.github/scripts/generate-composite-site-files.sh ${{ steps.timestamp.outputs.date }} $site_url else ${{ github.workspace }}/.github/scripts/generate-composite-site-files.sh ${{ steps.timestamp.outputs.date }} $site_url true