@@ -22,6 +22,14 @@ jobs:
|
|||||||
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user