.github/workflows: fix glibc issues in installer.yml

Fix glibc incompatibility issues between older ubuntu versions and the
newer checkout@v4 actions by selectively using the older checkout@v3
code for these targets.

Updates #cleanup
This commit is contained in:
Patrick O'Doherty 2024-04-15 10:52:48 -07:00
parent 7f4cda23ac
commit 4de947ce7e
No known key found for this signature in database

View File

@ -6,12 +6,13 @@ on:
- "main" - "main"
paths: paths:
- scripts/installer.sh - scripts/installer.sh
- .github/workflows/installer.yml
pull_request: pull_request:
branches: branches:
- "*" - "*"
paths: paths:
- scripts/installer.sh - scripts/installer.sh
- .github/workflows/installer.yml
jobs: jobs:
test: test:
strategy: strategy:
@ -32,12 +33,10 @@ jobs:
- "ubuntu:18.04" - "ubuntu:18.04"
- "ubuntu:20.04" - "ubuntu:20.04"
- "ubuntu:22.04" - "ubuntu:22.04"
- "ubuntu:22.10"
- "ubuntu:23.04" - "ubuntu:23.04"
- "elementary/docker:stable" - "elementary/docker:stable"
- "elementary/docker:unstable" - "elementary/docker:unstable"
- "parrotsec/core:lts-amd64" - "parrotsec/core:lts-amd64"
- "parrotsec/core:latest"
- "kalilinux/kali-rolling" - "kalilinux/kali-rolling"
- "kalilinux/kali-dev" - "kalilinux/kali-dev"
- "oraclelinux:9" - "oraclelinux:9"
@ -90,8 +89,8 @@ jobs:
|| contains(matrix.image, 'elementary') || contains(matrix.image, 'elementary')
|| contains(matrix.image, 'parrotsec') || contains(matrix.image, 'parrotsec')
|| contains(matrix.image, 'kalilinux') || contains(matrix.image, 'kalilinux')
- name: checkout - name: checkout v4
uses: actions/checkout@v4 uses: actions/checkout@v3
- name: run installer - name: run installer
run: scripts/installer.sh run: scripts/installer.sh
# Package installation can fail in docker because systemd is not running # Package installation can fail in docker because systemd is not running