Update fetch-better-cf-ip.yml

This commit is contained in:
hl authored and GitHub committed 2026-01-02 12:59:35 +08:00
1 parent efebaccb4d
commit 5dd019a81f
1 file changed
+2 -3
+2 -3
View File
@@ -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")