diff --git a/.github/workflows/test_set_2.yml b/.github/workflows/test_set_2.yml index 6d80b87..552028f 100644 --- a/.github/workflows/test_set_2.yml +++ b/.github/workflows/test_set_2.yml @@ -17,7 +17,7 @@ jobs: if: github.repository_owner == 'hwdsl2' strategy: matrix: - os_version: ["ubuntu:22.04", "ubuntu:20.04", "debian:12", "debian:11", "debian:10", "alpine:3.19", "alpine:3.18"] + os_version: ["ubuntu:24.04", "ubuntu:22.04", "ubuntu:20.04", "debian:12", "debian:11", "debian:10", "alpine:3.19", "alpine:3.18"] fail-fast: false container: image: ${{ matrix.os_version }} @@ -495,7 +495,8 @@ jobs: sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh for ver in 4.14 ""; do - if [ "$os_type" = "alpine" ]; then + if [ "$os_type" = "alpine" ] \ + || grep -qs trixie /etc/debian_version; then ipsec whack --shutdown || true fi sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh @@ -518,7 +519,8 @@ jobs: sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh for ver in 4.15 ""; do - if [ "$os_type" = "alpine" ]; then + if [ "$os_type" = "alpine" ] \ + || grep -qs trixie /etc/debian_version; then ipsec whack --shutdown || true fi sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh