mirror of
https://github.com/darkclip/netlist.git
synced 2026-12-07 04:42:33 +08:00
update
This commit is contained in:
1 parent
5509fee14d
commit
b65e0d3ef7
3 files changed
+16
-16
No files matched your search
@@ -30,24 +30,24 @@ jobs:
|
|||||||
repository: loyalsoldier/v2ray-rules-dat
|
repository: loyalsoldier/v2ray-rules-dat
|
||||||
ref: release
|
ref: release
|
||||||
path: dat-release
|
path: dat-release
|
||||||
- name: Checkout mosdns branch
|
- name: Checkout sub branch
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: mosdns
|
ref: mosdns
|
||||||
path: mosdns
|
path: mosdns
|
||||||
- name: Clean mosdns branch
|
- name: Clean sub branch
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: rm mosdns/*
|
run: rm mosdns/*
|
||||||
- name: Rebuild mosdns branch
|
- name: Rebuild sub branch
|
||||||
run: |
|
run: |
|
||||||
./raydata.py dat-release/geoip.dat -c cn -o mosdns/chinaip.txt geoip
|
./raydata.py dat-release/geoip.dat -c cn -o mosdns/chinaip.txt geoip
|
||||||
./raydata.py dat-release/geosite.dat -c cn -o mosdns/chinasite.txt geosite --formatter format_mosdns.json
|
./raydata.py dat-release/geosite.dat -c cn -o mosdns/chinasite.txt geosite --formatter format_mosdns.json
|
||||||
- name: Push to mosdns branch
|
|
||||||
continue-on-error: true
|
|
||||||
run: |
|
|
||||||
cd mosdns
|
cd mosdns
|
||||||
tar -cf mosdns.tar *.txt
|
tar -cf mosdns.tar *.txt
|
||||||
rm *.txt
|
rm *.txt
|
||||||
|
- name: Push to sub branch
|
||||||
|
continue-on-error: true
|
||||||
|
run: |
|
||||||
git config --global user.name "${GITHUB_ACTOR}"
|
git config --global user.name "${GITHUB_ACTOR}"
|
||||||
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
||||||
git add .
|
git add .
|
||||||
|
|||||||
@@ -30,17 +30,17 @@ jobs:
|
|||||||
repository: gaoyifan/china-operator-ip
|
repository: gaoyifan/china-operator-ip
|
||||||
ref: ip-lists
|
ref: ip-lists
|
||||||
path: ip-lists
|
path: ip-lists
|
||||||
- name: Checkout net branch
|
- name: Checkout sub branch
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: net
|
ref: net
|
||||||
path: net
|
path: net
|
||||||
- name: Clean net branch
|
- name: Clean sub branch
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: rm net/*
|
run: rm net/*
|
||||||
- name: Rebuild net branch
|
- name: Rebuild sub branch
|
||||||
run: ./exp_net.sh
|
run: ./exp_net.sh
|
||||||
- name: Push to net branch
|
- name: Push to sub branch
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
cd net
|
cd net
|
||||||
|
|||||||
@@ -30,25 +30,25 @@ jobs:
|
|||||||
repository: gaoyifan/china-operator-ip
|
repository: gaoyifan/china-operator-ip
|
||||||
ref: ip-lists
|
ref: ip-lists
|
||||||
path: ip-lists
|
path: ip-lists
|
||||||
- name: Checkout sha branch
|
- name: Checkout sub branch
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: sha
|
ref: sha
|
||||||
path: sha
|
path: sha
|
||||||
- name: Clean sha branch
|
- name: Clean sub branch
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: rm sha/*
|
run: rm sha/*
|
||||||
- name: Rebuild sha branch
|
- name: Rebuild sub branch
|
||||||
run: |
|
run: |
|
||||||
./netgen.py ip-lists/china.txt -o sha/china.sh -p 'ip route add ' -s $' dev eth0 via 10.11.0.1 || true\n'
|
./netgen.py ip-lists/china.txt -o sha/china.sh -p 'ip route add ' -s $' dev eth0 via 10.11.0.1 || true\n'
|
||||||
./netgen.py ip-lists/china6.txt -o sha/china6.sh -p 'ip route add ' -s $' dev eth0 via fe80::6a77:24ff:fed6:809d || true\n'
|
./netgen.py ip-lists/china6.txt -o sha/china6.sh -p 'ip route add ' -s $' dev eth0 via fe80::6a77:24ff:fed6:809d || true\n'
|
||||||
- name: Push to sha branch
|
|
||||||
continue-on-error: true
|
|
||||||
run: |
|
|
||||||
cd sha
|
cd sha
|
||||||
chmod +x *.sh
|
chmod +x *.sh
|
||||||
tar -cf sha.tar *.sh
|
tar -cf sha.tar *.sh
|
||||||
rm *.sh
|
rm *.sh
|
||||||
|
- name: Push to sub branch
|
||||||
|
continue-on-error: true
|
||||||
|
run: |
|
||||||
git config --global user.name "${GITHUB_ACTOR}"
|
git config --global user.name "${GITHUB_ACTOR}"
|
||||||
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
||||||
git add .
|
git add .
|
||||||
|
|||||||
Reference in new issue
Block a user