diff options
| author | ruki <[email protected]> | 2021-07-17 23:46:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-07-17 23:46:04 +0800 |
| commit | 32d3a088d8db23be3636175f43265a03627eb211 (patch) | |
| tree | 6b8abfca837fc1256a8062a7398437ca3d7ffdf5 /xmake | |
| parent | cfa968cc6d43d555c03b175449a976626949c714 (diff) | |
remove some appveyor urls
Diffstat (limited to 'xmake')
| -rw-r--r-- | xmake/actions/update/main.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua index 4bd4389cd..ed403f47a 100644 --- a/xmake/actions/update/main.lua +++ b/xmake/actions/update/main.lua @@ -311,8 +311,7 @@ function main() local winarch = os.arch() == "x64" and "win64" or "win32" if version:find('.', 1, true) then - mainurls = {format("https://ci.appveyor.com/api/projects/waruqi/xmake/artifacts/xmake-installer.exe?tag=%s&pr=false&job=Image%%3A+Visual+Studio+2017%%3B+Platform%%3A+%s", version, os.arch()), - format("https://github.com/xmake-io/xmake/releases/download/%s/xmake-%s.%s.exe", version, version, winarch), + mainurls = {format("https://github.com/xmake-io/xmake/releases/download/%s/xmake-%s.%s.exe", version, version, winarch), format("https://cdn.jsdelivr.net/gh/xmake-mirror/xmake-releases@%s/xmake-%s.%s.exe.zip", version, version, winarch), format("https://gitlab.com/xmake-mirror/xmake-releases/raw/%s/xmake-%s.%s.exe.zip", version, version, winarch)} else @@ -320,8 +319,7 @@ function main() local tags = fetchinfo.tags table.sort(tags) local latest_version = tags[#tags] or ("v" .. xmake.version():shortstr()) - mainurls = {format("https://ci.appveyor.com/api/projects/waruqi/xmake/artifacts/xmake-installer.exe?branch=%s&pr=false&job=Image%%3A+Visual+Studio+2017%%3B+Platform%%3A+%s", version, os.arch()), - format("https://github.com/xmake-io/xmake/releases/download/%s/xmake-%s.%s.exe", latest_version, version, winarch)} + mainurls = {format("https://github.com/xmake-io/xmake/releases/download/%s/xmake-%s.%s.exe", latest_version, version, winarch)} end -- re-sort mainurls |
