1
0
mirror of synced 2024-11-22 04:56:03 +03:00

Update tests

This commit is contained in:
hwdsl2 2024-05-17 20:45:05 -05:00
parent a42410822f
commit d108c4a3c9

View File

@ -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