From 5c39af3d9973c900e4fc607f98b41276d42ce151 Mon Sep 17 00:00:00 2001 From: George Adams Date: Tue, 20 Jun 2023 17:02:49 +0100 Subject: [PATCH] fix cacert publisher (#688) --- .github/workflows/cacert-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cacert-publish.yml b/.github/workflows/cacert-publish.yml index b656b7b68..2d5ee10a4 100644 --- a/.github/workflows/cacert-publish.yml +++ b/.github/workflows/cacert-publish.yml @@ -40,13 +40,13 @@ jobs: FILE=$(ls ca-certificates/debian/build/ospackage/*.deb) echo "File to upload: ${FILE}" CODE=$(curl -s -o /dev/null -w "%{http_code}\n" https://packages.adoptium.net/artifactory/deb/pool/main/a/adoptium-ca-certificates/$(basename ${FILE})) - echo "status=$CODE" >> GITHUB_OUTPUT + echo "status=$CODE" >> "$GITHUB_OUTPUT" - name: Log Status Code run: echo "Status code ${{ steps.check-deb.outputs.status }}" - name: Upload deb file to Artifactory - if: steps.check-deb.outputs.status == 404 + if: steps.check-deb.outputs.status == '404' run: | debVersionList=("bookworm" "bullseye" "buster" "kinetic" "jammy" "focal" "bionic") for debVersion in "${debVersionList[@]}"; do