File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 include :
2020 - os : ' ubuntu-20.04'
2121 - os : ' ubuntu-22.04'
22+ - os : ' ubuntu-24.04'
2223 - os : ' windows-latest'
2324 steps :
24- - uses : actions /checkout@v3
25+ - uses : taiki-e /checkout-action@v1
2526
2627 - name : " Build and test (ubuntu)"
2728 run : |
5152 - perlimage : 5.18.4-buster
5253 - perlimage : 5.22.4-stretch
5354 - perlimage : 5.36.0-slim-bullseye
55+ - perlimage : 5.40.0-slim-bookworm
5456 steps :
55- - uses : actions/checkout@v3
57+ - name : apt hacks
58+ run : |
59+ set -e
60+ CODENAME=$(perl -nle '/^VERSION_CODENAME="?([^"]+)/ and $codename=$1; /^VERSION="\d+ \((.*)\)/ and $maybe_codename=$1; END { print $codename || $maybe_codename }' /etc/os-release)
61+ case "$CODENAME" in
62+ wheezy|jessie|stretch)
63+ echo "APT::Get::AllowUnauthenticated 1;" > /etc/apt/apt.conf.d/02allow-unsigned
64+ echo "deb [check-valid-until=no] http://archive.debian.org/debian $CODENAME main" > /etc/apt/sources.list
65+ echo "deb [check-valid-until=no] http://archive.debian.org/debian-security/ $CODENAME/updates main" >> /etc/apt/sources.list
66+ ;;
67+ esac
68+ - uses : taiki-e/checkout-action@v1
5669 - name : Build and test
5770 run : |
5871 set -e
You can’t perform that action at this time.
0 commit comments