Skip to content

Commit

Permalink
fix cacert upload action (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams authored Apr 25, 2024
1 parent aba648e commit d7e39e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cacert-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit d7e39e1

Please sign in to comment.