From 5b41c00d609e898cff79b7bc6161a8c1c4014182 Mon Sep 17 00:00:00 2001 From: wed15 Date: Fri, 19 Jun 2026 09:57:29 +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 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 560790a..8d54e80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,15 @@ jobs: key: xmake-${{ hashFiles('xmake.lua') }} restore-keys: | xmake- - + + - 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 + xmake g --proxy_pac=github_mirror.lua + shell: pwsh + - name: Update Repo run: xmake repo -u