From d7e39e11deb38173f03ed48a06ec0e568160b33a Mon Sep 17 00:00:00 2001 From: George Adams Date: Thu, 25 Apr 2024 16:35:27 +0100 Subject: [PATCH] fix cacert upload action (#873) --- .github/workflows/cacert-publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cacert-publish.yml b/.github/workflows/cacert-publish.yml index 84047e0c8..ecb44fb0f 100644 --- a/.github/workflows/cacert-publish.yml +++ b/.github/workflows/cacert-publish.yml @@ -53,9 +53,9 @@ jobs: - name: Upload deb file to Artifactory if: steps.check-deb.outputs.file_exists == 'false' run: | - debVersionList=("trixie" "bookworm" "bullseye" "buster" "noble" "jammy" "focal" "bionic") - for debVersion in "${debVersionList[@]}"; do - distroList+="deb.distribution=${debVersion};" - done + DISTRO_LIST="trixie,bookworm,buster,noble,jammy,focal,bionic" FILE=$(ls ca-certificates/debian/build/ospackage/*.deb) - jf rt u "$FILE" "deb/pool/main/a/adoptium-ca-certificates/$(basename ${FILE});deb.architecture=all;deb.component=main;${distroList}" --flat=true + # Upload cacerts deb file + jf rt u "$FILE" "deb/pool/main/a/adoptium-ca-certificates/$(basename ${FILE});deb.architecture=all;deb.component=main" --flat=true + # Add deb.distribution properties + jf rt sp "deb/pool/main/a/adoptium-ca-certificates/$(basename ${FILE})" "deb.distribution=${DISTRO_LIST}"