mirror of
https://github.com/KaringX/karing-ruleset.git
synced 2025-06-08 16:54:13 +08:00
wget curl quiet
This commit is contained in:
parent
be5e5415de
commit
bd7087b4ad
5
.github/workflows/run.yml
vendored
5
.github/workflows/run.yml
vendored
@ -34,14 +34,13 @@ jobs:
|
|||||||
cp ./workflow/resouces/convert_* ./sing-rule/
|
cp ./workflow/resouces/convert_* ./sing-rule/
|
||||||
cd sing-rule || exit 1
|
cd sing-rule || exit 1
|
||||||
python convert_json.py ../ACL4SSR/Clash ./
|
python convert_json.py ../ACL4SSR/Clash ./
|
||||||
python convert_json.py ../ACL4SSR/Clash/Ruleset ./Ruleset
|
|
||||||
|
|
||||||
- name: Convert json to srs
|
- name: Convert json to srs
|
||||||
env:
|
env:
|
||||||
NO_SKIP: true
|
NO_SKIP: true
|
||||||
run: |
|
run: |
|
||||||
cd sing-rule || exit 1
|
cd sing-rule || exit 1
|
||||||
wget https://github.com/SagerNet/sing-box/releases/download/v1.8.12/sing-box-1.8.12-linux-amd64.tar.gz -O sing-box.tar.gz && tar zxvf sing-box.tar.gz && mv sing-box-1.8.12-linux-amd64/sing-box ./
|
wget -q https://github.com/SagerNet/sing-box/releases/download/v1.8.12/sing-box-1.8.12-linux-amd64.tar.gz -O sing-box.tar.gz && tar zxvf sing-box.tar.gz && mv sing-box-1.8.12-linux-amd64/sing-box ./
|
||||||
chmod 755 sing-box convert_srs.sh && ./convert_srs.sh
|
chmod 755 sing-box convert_srs.sh && ./convert_srs.sh
|
||||||
rm -rf sing-box* convert_* LICENSE README.md
|
rm -rf sing-box* convert_* LICENSE README.md
|
||||||
|
|
||||||
@ -63,5 +62,5 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd sing-rule || exit 1
|
cd sing-rule || exit 1
|
||||||
for file in $(ls); do
|
for file in $(ls); do
|
||||||
curl -i "https://purge.jsdelivr.net/gh/${{ github.repository }}@sing/${file}"
|
curl -i -Ls "https://purge.jsdelivr.net/gh/${{ github.repository }}@sing/${file}"
|
||||||
done
|
done
|
Loading…
x
Reference in New Issue
Block a user