From 3f8193390fbbf66311db169573ad2cce4def7977 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Fri, 13 Aug 2021 02:12:38 -0500 Subject: [PATCH] Update tests --- .github/workflows/cron.yml | 6 +----- .github/workflows/main.yml | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 9163ac0..bde5c1b 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -139,11 +139,7 @@ jobs: yum -y -q install wget rsyslog systemctl start rsyslog - if [ "$1" != "amazon" ]; then - wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup-centos - else - wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup-amzn - fi + wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup sed -i '/swan_ver_latest=/s/^/#/' vpnsetup.sh sh vpnsetup.sh diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index da46814..dbd97db 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -168,11 +168,7 @@ jobs: yum -y -q install wget rsyslog systemctl start rsyslog - if [ "$1" != "amazon" ]; then - wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup-centos - else - wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup-amzn - fi + wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup sed -i '/swan_ver_latest=/s/^/#/' vpnsetup.sh sh vpnsetup.sh