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