Update package download conditions in push-packagecloud.yml

This commit is contained in:
Théophile Diot 2024-05-01 13:08:44 +02:00
parent 6dfb58c836
commit 3d8c2ded01
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -49,12 +49,12 @@ jobs:
run: gem install package_cloud
# Download packages
- uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
if: inputs.LINUX = ubuntu*
if: inputs.LINUX == 'ubuntu'
with:
name: package-${{ inputs.LINUX }}-${{ inputs.VERSION }}-${{ inputs.PACKAGE_ARCH }}
path: /tmp/${{ inputs.LINUX }}
- uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
if: inputs.LINUX != 'el' && inputs.LINUX != 'el9' && inputs.LINUX != ubuntu*
if: inputs.LINUX != 'el' && inputs.LINUX != 'el9' && inputs.LINUX != 'ubuntu'
with:
name: package-${{ inputs.LINUX }}-${{ inputs.PACKAGE_ARCH }}
path: /tmp/${{ inputs.LINUX }}