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