更新 .github/workflows/build.yml
/ build (push) Failing after 2m10s

This commit is contained in:
2026-06-19 10:01:16 +08:00
Unverified
parent 5b41c00d60
commit 8a2781932c
+7 -4
View File
@@ -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