Skip to content

Commit

Permalink
try upload distribution
Browse files Browse the repository at this point in the history
Signed-off-by: Bohan Cheng <[email protected]>
  • Loading branch information
cbh778899 authored Sep 15, 2024
1 parent 2c133f1 commit d511f0c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ on:
types: [published]

jobs:
build:
runs-on: ubuntu-latest

release-build:

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]


runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4

Expand All @@ -37,6 +38,6 @@ jobs:
run: pnpm run build-electron

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

0 comments on commit d511f0c

Please sign in to comment.