From 85ed460b7c789e923dde464ee04a59c0038bd148 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sun, 15 Aug 2021 00:46:50 -0500 Subject: [PATCH] Update tests --- .github/workflows/cron.yml | 4 +++- .github/workflows/main.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index b3108cb..632c24e 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -506,7 +506,7 @@ jobs: if: github.repository_owner == 'hwdsl2' strategy: matrix: - os_version: ["ubuntu:20.04", "ubuntu:18.04", "debian:10", "debian:9"] + os_version: ["ubuntu:20.04", "ubuntu:18.04", "debian:bullseye", "debian:10", "debian:9"] fail-fast: false container: image: ${{ matrix.os_version }} @@ -820,7 +820,9 @@ jobs: wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-ubuntu sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh + os_ver=$(sed 's/\..*//' /etc/debian_version | tr -dc 'A-Za-z0-9') for ver in 3.32 4.1 4.2 4.3 4.4; do + [ "$ver" = "3.32" ] && [ "$os_ver" = "11" ] && continue sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh sh vpnup.sh <