From 0e7426730b32bd511ac6830f545d5b1a0a56a5f9 Mon Sep 17 00:00:00 2001 From: v1ll4n Date: Fri, 12 Nov 2021 10:08:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=93=E5=8C=85=E6=B5=81?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/yakit-ci.yml | 15 +++++---------- app/main/index.js | 7 +++---- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/yakit-ci.yml b/.github/workflows/yakit-ci.yml index 628904d6e1..9482d4b279 100644 --- a/.github/workflows/yakit-ci.yml +++ b/.github/workflows/yakit-ci.yml @@ -240,16 +240,11 @@ jobs: ./latest.yml:/yak/latest/latest.yml ./latest-mac.yml:/yak/latest/latest-mac.yml ./latest-linux.yml:/yak/latest/latest-linux.yml + Yakit-${{ steps.fetchtag_release.outputs.value }}-windows-amd64.exe:/yak/latest/Yakit-${{ steps.fetchtag_release.outputs.value }}-windows-amd64.exe + Yakit-${{ steps.fetchtag_release.outputs.value }}-darwin-x64.dmg:/yak/latest/Yakit-${{ steps.fetchtag_release.outputs.value }}-darwin-x64.dmg + Yakit-${{ steps.fetchtag_release.outputs.value }}-darwin-arm64.dmg:/yak/latest/Yakit-${{ steps.fetchtag_release.outputs.value }}-darwin-arm64.dmg + Yakit-${{ steps.fetchtag_release.outputs.value }}-linux-amd64.AppImage:/yak/latest/Yakit-${{ steps.fetchtag_release.outputs.value }}-linux-amd64.AppImage Yakit-${{ steps.fetchtag_release.outputs.value }}-windows-amd64.exe:/yak/${{ steps.fetchtag_release.outputs.value }}/Yakit-${{ steps.fetchtag_release.outputs.value }}-windows-amd64.exe - - - name: Upload Yakit to oss(MacOS intel && Linux64) - uses: tvrcgo/upload-to-oss@master - with: - key-id: ${{ secrets.OSS_KEY_ID }} - key-secret: ${{ secrets.OSS_KEY_SECRET }} - region: oss-accelerate - bucket: yaklang - assets: | Yakit-${{ steps.fetchtag_release.outputs.value }}-darwin-x64.dmg:/yak/${{ steps.fetchtag_release.outputs.value }}/Yakit-${{ steps.fetchtag_release.outputs.value }}-darwin-x64.dmg Yakit-${{ steps.fetchtag_release.outputs.value }}-darwin-arm64.dmg:/yak/${{ steps.fetchtag_release.outputs.value }}/Yakit-${{ steps.fetchtag_release.outputs.value }}-darwin-arm64.dmg - Yakit-${{ steps.fetchtag_release.outputs.value }}-linux-amd64.AppImage:/yak/latest/Yakit-${{ steps.fetchtag_release.outputs.value }}-linux-amd64.AppImage + Yakit-${{ steps.fetchtag_release.outputs.value }}-linux-amd64.AppImage:/yak/${{ steps.fetchtag_release.outputs.value }}/Yakit-${{ steps.fetchtag_release.outputs.value }}-linux-amd64.AppImage \ No newline at end of file diff --git a/app/main/index.js b/app/main/index.js index 64a5584d57..6e99ee263d 100644 --- a/app/main/index.js +++ b/app/main/index.js @@ -32,11 +32,10 @@ app.whenReady().then(() => { registerIPC(win); + // // https://yaklang.oss-cn-beijing.aliyuncs.com/yak/latest/yakit-version.txt // autoUpdater.setFeedURL({ - // PublishProvider: "custom", - // OutgoingHttpHeaders: { - // host: "" - // }, + // provider: "generic", + // url: "https://yaklang.oss-cn-beijing.aliyuncs.com/yak/latest/", // }) // autoUpdater.checkForUpdates();