@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user