Skip to content

Commit

Permalink
try removing container from cpack
Browse files Browse the repository at this point in the history
  • Loading branch information
scareything committed Oct 11, 2024
1 parent f72a33d commit b92f11b
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/cpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ jobs:
needs: set_matrix
name: ${{ matrix.arch.rpm }} ${{ matrix.distro.name }} ${{ matrix.distro.version }}
runs-on: ubuntu-20.04
# build image name it from matrix values name:version unless override container is specified
container: ${{ matrix.distro.container || format('{0}:{1}', matrix.distro.name, matrix.distro.version) }}
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.set_matrix.outputs.matrix) }}
Expand All @@ -60,27 +58,6 @@ jobs:
- name: Debug action
uses: hmarr/debug-action@v3

# only focal-20.04 has >= 2.18, which is required by actions/checkout to clone
# which enables cmake version discovery
- name: install contemporary Git in runner container if Ubuntu
if: ${{ matrix.distro.name == 'ubuntu' }}
shell: bash
run: |
apt-get update
apt-get install --yes software-properties-common
add-apt-repository --yes ppa:git-core/ppa
apt-get update
apt-get install --yes git
git --version
- name: install contemporary Git in runner container if RedHat 8 or 9
if: ${{ matrix.distro.name == 'redhat' && (matrix.distro.version == '8' || matrix.distro.version == '9') }}
shell: bash
run: |
dnf -y update
dnf -y install git
git --version
- name: checkout workspace
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit b92f11b

Please sign in to comment.