mirror of
https://github.com/snltty/linker.git
synced 2025-12-18 17:36:45 +08:00
oss
This commit is contained in:
6
.github/workflows/dotnet.yml
vendored
6
.github/workflows/dotnet.yml
vendored
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user