This commit is contained in:
snltty
2024-08-14 11:28:19 +08:00
parent 2a4e167d5e
commit 22ff9ad8bc
2 changed files with 4 additions and 4 deletions

View File

@@ -59,12 +59,12 @@ jobs:
id: upload-win-x86-oss
uses: tvrcgo/oss-action@v0.1.1
with:
region: oss-cn-guangzhou
region: oss-cn-shenzhen
key-id: '${{ secrets.ALIYUN_OSS_ID }}'
key-secret: '${{ secrets.ALIYUN_OSS_SECRET }}'
bucket: snltty
bucket: ide-qbcode
asset-path: ./public/publish-zip/linker-win-x86.zip
target-path: /linker/v1.2.0.6/linker-win-x86.zip
target-path: /downloads/linker/v1.2.0.6/linker-win-x86.zip
- name: upload win x86
id: upload-win-x86

View File

@@ -82,7 +82,7 @@ namespace linker.plugins.updater
}
sb.Append(RuntimeInformation.ProcessArchitecture.ToString().ToLower());
string url = $"http://gh.snltty.com:1808/https://github.com/snltty/linker/releases/download/{version}/{sb.ToString()}.zip";
string url = $"https://static.qbcode.cn/downloads/linker/{version}/{sb.ToString()}.zip";
using HttpClient httpClient = new HttpClient();
using HttpResponseMessage response = await httpClient.GetAsync(url, HttpCompletionOption.ResponseHeadersRead);