From c59b1b1c0aa87a9d40c673229d58ed5f25ce50bd Mon Sep 17 00:00:00 2001 From: darkclip Date: Fri, 21 Jul 2023 04:09:18 +0800 Subject: [PATCH] update --- .github/workflows/build-sha.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-sha.yml b/.github/workflows/build-sha.yml index 1044b0c2..f554bc47 100644 --- a/.github/workflows/build-sha.yml +++ b/.github/workflows/build-sha.yml @@ -40,12 +40,13 @@ jobs: run: rm sha/* - name: Rebuild sha branch run: | - ./netgen.py ip-lists/china.txt -o sha/china.txt -p 'ip route add ' -s $' dev eth0 via 10.11.0.1\n' - ./netgen.py ip-lists/china6.txt -o sha/china6.txt -p 'ip route add ' -s $' dev eth0 via fe80::6a77:24ff:fed6:809d\n' + ./netgen.py ip-lists/china.txt -o sha/china.sh -p 'ip route add ' -s $' dev eth0 via 10.11.0.1\n' + ./netgen.py ip-lists/china6.txt -o sha/china6.sh -p 'ip route add ' -s $' dev eth0 via fe80::6a77:24ff:fed6:809d\n' - name: Push to sha branch continue-on-error: true run: | cd sha + chmod +x *.sh tar -cf sha.tar *.txt rm *.txt git config --global user.name "${GITHUB_ACTOR}"