From efdf80ad7a4df20056df5d352d66b8d1fd9440f8 Mon Sep 17 00:00:00 2001 From: cbh778899 Date: Sun, 15 Sep 2024 20:27:23 +1000 Subject: [PATCH] update workflows Signed-off-by: cbh778899 --- .github/workflows/distribution.yml | 2 ++ electron-builder.yml | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/distribution.yml b/.github/workflows/distribution.yml index ef3eedd..75d6821 100644 --- a/.github/workflows/distribution.yml +++ b/.github/workflows/distribution.yml @@ -36,6 +36,8 @@ jobs: - name: Build Electron app run: pnpm run build-electron + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish to release run: gh release ${{github.event.release.tag_name}} upload dist-electron/SkywardaiChat-* diff --git a/electron-builder.yml b/electron-builder.yml index df3d465..63c9ed4 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -13,18 +13,15 @@ files: win: target: - nsis # Windows installer type, you can use zip, nsis, etc. - icon: assets/icon.png mac: target: - dmg # macOS installer type - icon: assets/icon.png linux: target: - AppImage # - deb # You can also specify 'deb', 'rpm', etc. - icon: assets/icon.png nsis: oneClick: true # Whether the installer is one-click