From 8a2781932c7a4cd5ba13add53b82807866684a4c Mon Sep 17 00:00:00 2001 From: wed15 Date: Fri, 19 Jun 2026 10:01:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.github/workflows/build.ym?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d54e80..f559313 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,11 +24,14 @@ jobs: - name: Configure XMake Custom Mirror run: | - echo 'function mirror(url)' > github_mirror.lua - echo ' return url:gsub("github.com", "github.bibk.top")' >> github_mirror.lua - echo 'end' >> github_mirror.lua + $luaContent = @' + function mirror(url) + return url:gsub("github.com", "kkgithub.com") + end + '@ + $luaContent | Out-File -FilePath "github_mirror.lua" -Encoding utf8 xmake g --proxy_pac=github_mirror.lua - shell: pwsh + shell: powershell - name: Update Repo run: xmake repo -u