Skip to content

Commit d511f0c

Browse files
authored
try upload distribution
Signed-off-by: Bohan Cheng <[email protected]>
1 parent 2c133f1 commit d511f0c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/distribution.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ on:
55
types: [published]
66

77
jobs:
8-
build:
9-
runs-on: ubuntu-latest
10-
8+
release-build:
9+
1110
strategy:
1211
matrix:
1312
os: [macos-latest, ubuntu-latest, windows-latest]
14-
13+
14+
runs-on: ${{ matrix.os }}
15+
1516
steps:
1617
- uses: actions/checkout@v4
1718

@@ -37,6 +38,6 @@ jobs:
3738
run: pnpm run build-electron
3839

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

0 commit comments

Comments
 (0)