Skip to content

Commit

Permalink
fix cacert publisher (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams authored Jun 20, 2023
1 parent e90b1bd commit 5c39af3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cacert-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c39af3

Please sign in to comment.