From 7447211403d008eb8fc857c61413e53c902ff368 Mon Sep 17 00:00:00 2001 From: cbh778899 Date: Sun, 15 Sep 2024 20:50:23 +1000 Subject: [PATCH] update workflow Signed-off-by: cbh778899 --- .github/workflows/distribution.yml | 4 +--- electron-builder.yml | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/distribution.yml b/.github/workflows/distribution.yml index 75d6821..415a0f4 100644 --- a/.github/workflows/distribution.yml +++ b/.github/workflows/distribution.yml @@ -36,10 +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-* + run: gh release upload ${{github.event.release.tag_name}} upload dist-electron/SkywardaiChat-* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/electron-builder.yml b/electron-builder.yml index 63c9ed4..f06781d 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -29,3 +29,5 @@ nsis: allowToChangeInstallationDirectory: true # Let the user change the install directory createDesktopShortcut: true # Create desktop shortcut after installation createStartMenuShortcut: true # Create start menu shortcut + +publish: "never" \ No newline at end of file