更新 .github/workflows/build.yml
/ build (push) Failing after 39s

This commit is contained in:
2026-06-19 09:57:29 +08:00
Unverified
parent 6b434988c0
commit 5b41c00d60
+9 -1
View File
@@ -21,7 +21,15 @@ jobs:
key: xmake-${{ hashFiles('xmake.lua') }} key: xmake-${{ hashFiles('xmake.lua') }}
restore-keys: | restore-keys: |
xmake- 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 - name: Update Repo
run: xmake repo -u run: xmake repo -u