Skip to content

Commit

Permalink
try fix workflow
Browse files Browse the repository at this point in the history
Signed-off-by: cbh778899 <[email protected]>
  • Loading branch information
cbh778899 committed Sep 15, 2024
1 parent bfbbaa4 commit 163c621
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ jobs:

- name: Build Electron app
run: pnpm run build-electron

- name: Publish to release
run: gh release upload ${{github.event.release.tag_name}} dist-electron/SkywardaiChat-*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Publish to release
# run: gh release upload ${{github.event.release.tag_name}} dist-electron/SkywardaiChat-*
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ nsis:
createDesktopShortcut: true # Create desktop shortcut after installation
createStartMenuShortcut: true # Create start menu shortcut

publish: null
publish:
- provider: github
releaseType: release

0 comments on commit 163c621

Please sign in to comment.