mirror of
https://github.com/darkclip/netlist.git
synced 2026-11-14 09:03:52 +08:00
Update fetch-better-cf-ip.yml
This commit is contained in:
1 file changed
+2
-3
@@ -21,8 +21,7 @@ jobs:
|
||||
with:
|
||||
repository: 'XIU2/CloudflareSpeedTest'
|
||||
latest: true
|
||||
tarBall: true
|
||||
zipBall: true
|
||||
fileName: 'cfst_*.*'
|
||||
out-file-path: 'ref1'
|
||||
- name: Checkout target branch
|
||||
uses: actions/checkout@v4
|
||||
@@ -34,7 +33,7 @@ jobs:
|
||||
run: rm target/*
|
||||
- name: Rebuild target branch
|
||||
run: |
|
||||
match=CloudflareST
|
||||
match=cfst
|
||||
for filepath in ref1/*; do
|
||||
rename=$(echo $filepath | awk -F'[./]' '{print $2}' | sed "s/$match/cf/g")
|
||||
|
||||
|
||||
Reference in new issue
Block a user