Skip to content

Commit

Permalink
修改打包流程
Browse files Browse the repository at this point in the history
  • Loading branch information
v1ll4n committed Nov 12, 2021
1 parent 2d054cb commit 0e74267
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/yakit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 3 additions & 4 deletions app/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 0e74267

Please # to comment.