mirror of
https://github.com/taixingyiji/openit.git
synced 2025-12-12 21:12:14 +00:00
Update Nodes.yaml
This commit is contained in:
64
.github/workflows/Nodes.yaml
vendored
64
.github/workflows/Nodes.yaml
vendored
@@ -39,48 +39,48 @@ jobs:
|
||||
run: | #安装pip包
|
||||
pip install -r ./utils/pool/requirements.txt
|
||||
pip install -r ./utils/clashcheck/requirements.txt
|
||||
- name: pool #input./utils/pool/config.yaml
|
||||
run: cd ./utils/pool/ && timeout -k 30s 12m python main.py || true #output./utils/pool/output.yaml
|
||||
- name: copy pool to clashcheck #input./utils/pool/output.yaml
|
||||
run: cp ./utils/pool/output.yaml ./utils/clashcheck/input.yaml #output./utils/clashcheck/input.yaml
|
||||
- name: clashcheck #because./utils/pool/config.yaml so input./utils/clashcheck/input.yaml
|
||||
run: cd ./utils/clashcheck/ && python main.py && python main.py && python main.py #output./utils/clashcheck/check.yaml
|
||||
- name: copy clashcheck to subconverter #input./utils/clashcheck/check.yaml
|
||||
run: cp ./utils/clashcheck/check.yaml ./utils/subconverter/rm0 #output./utils/subconverter/rm0
|
||||
- name: subconverter #input./utils/subconverter/rm0
|
||||
run: ./utils/subconverter/subconverter -g --artifact "rm" && rm ./utils/subconverter/rm0 #delete./utils/subconverter/rm0 & output./utils/subconverter/rm1
|
||||
- name: move subconverter to Remove & Remark #input./utils/subconverter/rm1
|
||||
run: mv ./utils/subconverter/rm1 ./utils/rm/rm1 #output./utils/rm/rm1
|
||||
- name: pool #input ./utils/pool/config.yaml
|
||||
run: cd ./utils/pool/ && timeout -k 30s 12m python main.py || true #output ./utils/pool/output.yaml
|
||||
- name: copy pool to clashcheck #input ./utils/pool/output.yaml
|
||||
run: cp ./utils/pool/output.yaml ./utils/clashcheck/input.yaml #output ./utils/clashcheck/input.yaml
|
||||
- name: clashcheck #because ./utils/pool/config.yaml so input ./utils/clashcheck/input.yaml
|
||||
run: cd ./utils/clashcheck/ && python main.py && python main.py && python main.py #output ./utils/clashcheck/check.yaml
|
||||
- name: copy clashcheck to subconverter #input ./utils/clashcheck/check.yaml
|
||||
run: cp ./utils/clashcheck/check.yaml ./utils/subconverter/rm0 #output ./utils/subconverter/rm0
|
||||
- name: subconverter #input ./utils/subconverter/rm0
|
||||
run: ./utils/subconverter/subconverter -g --artifact "rm" && rm ./utils/subconverter/rm0 #delete ./utils/subconverter/rm0 & output ./utils/subconverter/rm1
|
||||
- name: move subconverter to Remove & Remark #input ./utils/subconverter/rm1
|
||||
run: mv ./utils/subconverter/rm1 ./utils/rm/rm1 #output ./utils/rm/rm1
|
||||
- name: Remove & Remark
|
||||
run: | #input./utils/rm/rm1
|
||||
run: | #input ./utils/rm/rm1
|
||||
cd ./utils/rm/
|
||||
#input./utils/rm/rm1
|
||||
base64 -d rm1 > rm2 #output./utils/rm/rm2
|
||||
#input./utils/rm/rm2
|
||||
npm start #output./utils/rm/out
|
||||
#input ./utils/rm/rm1
|
||||
base64 -d rm1 > rm2 #output ./utils/rm/rm2
|
||||
#input ./utils/rm/rm2
|
||||
npm start #output ./utils/rm/out
|
||||
- name: url & https
|
||||
run: | #input./utils/rm/out ./url ./.github/url.sh ./1 ./2 ./3
|
||||
rm ./utils/rm/rm1 ./utils/rm/rm2 #delete./utils/rm/rm1 & ./utils/rm/rm2
|
||||
#input./utils/rm/out
|
||||
mv ./utils/rm/out ./url #output./url
|
||||
#input./url
|
||||
base64 ./url > ./utils/subconverter/check -w 0 #output./utils/subconverter/check
|
||||
#input./.github/url.sh
|
||||
./.github/url.sh > ./1 #output./1
|
||||
#input./url
|
||||
cp ./url ./2 #output./2
|
||||
#input./1 ./2
|
||||
run: | #input ./utils/rm/out ./url ./.github/url.sh ./1 ./2 ./3
|
||||
rm ./utils/rm/rm1 ./utils/rm/rm2 #delete ./utils/rm/rm1 & ./utils/rm/rm2
|
||||
#input ./utils/rm/out
|
||||
mv ./utils/rm/out ./url #output ./url
|
||||
#input ./url
|
||||
base64 ./url > ./utils/subconverter/check -w 0 #output ./utils/subconverter/check
|
||||
#input ./.github/url.sh
|
||||
./.github/url.sh > ./1 #output ./1
|
||||
#input ./url
|
||||
cp ./url ./2 #output ./2
|
||||
#input ./1 ./2
|
||||
cat 1 2 > 3 && rm 1 2 #delete ./1 ./2 & output./3
|
||||
#input./3
|
||||
#input ./3
|
||||
base64 3 > https -w 0 && rm 3 #delete ./3 & output./https
|
||||
- name: long & Clash.yaml
|
||||
run: | #input./utils/pool/check
|
||||
run: | #input ./utils/pool/check
|
||||
./utils/subconverter/subconverter -g
|
||||
#output./utils/subconverter/long ./utils/subconverter/Clash.yaml ./utils/subconverter/pool.yaml ./utils/subconverter/rm1
|
||||
#output ./utils/subconverter/long ./utils/subconverter/Clash.yaml ./utils/subconverter/pool.yaml ./utils/subconverter/rm1
|
||||
mv ./utils/subconverter/long ./long || true
|
||||
mv ./utils/subconverter/Clash.yaml ./Clash.yaml || true
|
||||
rm ./utils/subconverter/check ./utils/subconverter/pool.yaml ./utils/subconverter/rm1 #delete ../check ../pool.yaml ../rm1
|
||||
- run: ./.github/update-repo.sh || true #output./url ./https ./long ./Clash.yaml ./utils/pool/output.yaml ./utils/clashcheck/input.yaml ./utils/clashcheck/check.yaml
|
||||
- run: ./.github/update-repo.sh || true #output ./url ./https ./long ./Clash.yaml ./utils/pool/output.yaml ./utils/clashcheck/input.yaml ./utils/clashcheck/check.yaml
|
||||
|
||||
long: #jsdelivr long同步
|
||||
needs: my-job
|
||||
|
||||
Reference in New Issue
Block a user