focus only on rpm

This commit is contained in:
a-eljazouly 2024-02-06 09:23:50 +01:00
parent f256ebfafa
commit d9826fd2b7
1 changed files with 18 additions and 18 deletions

View File

@ -485,27 +485,27 @@ jobs:
cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }} cache_key: ${{ github.sha }}-${{ github.run_id }}-rpm-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }} stability: ${{ needs.get-environment.outputs.stability }}
deliver-deb: # deliver-deb:
needs: [get-environment, download-and-cache-deb] # needs: [get-environment, download-and-cache-deb]
if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }} # if: ${{ contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) }}
runs-on: [self-hosted, common] # runs-on: [self-hosted, common]
strategy: # strategy:
matrix: # matrix:
distrib: [bullseye, bookworm, jammy] # distrib: [bullseye, bookworm, jammy]
steps: # steps:
- name: Checkout sources # - name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Delivery # - name: Delivery
uses: ./.github/actions/deb-delivery # uses: ./.github/actions/deb-delivery
with: # with:
module_name: perl-cpan-libraries # module_name: perl-cpan-libraries
distrib: ${{ matrix.distrib }} # distrib: ${{ matrix.distrib }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }} # artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-deb-${{ matrix.distrib }} # cache_key: ${{ github.sha }}-${{ github.run_id }}-deb-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }} # stability: ${{ needs.get-environment.outputs.stability }}
promote: promote:
needs: [get-environment] needs: [get-environment]