-
Notifications
You must be signed in to change notification settings - Fork 56
67 lines (59 loc) · 1.71 KB
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Release
on:
workflow_dispatch:
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
concurrency:
group: release
jobs:
build:
uses: ./.github/workflows/build.yaml
release:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/download-artifact@v4
with:
path: tmp
pattern: bundle-*
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: glzr-io/actions/semantic-release@main
with:
gh-publish: true
gh-token: ${{ secrets.GITHUB_TOKEN }}
gh-draft-release: false
gh-assets: |
[
{
"path": "tmp/bundle-x86_64-pc-windows-msvc/tauri.msi",
"name": "Zebar_x64_${nextRelease.gitTag}.msi"
},
{
"path": "tmp/bundle-i686-pc-windows-msvc/tauri.msi",
"name": "Zebar_x86_${nextRelease.gitTag}.msi"
},
{
"path": "tmp/bundle-universal-apple-darwin/tauri.dmg",
"name": "Zebar_${nextRelease.gitTag}.dmg"
},
{
"path": "tmp/bundle-x86_64-unknown-linux-gnu/tauri.deb",
"name": "Zebar_x64_${nextRelease.gitTag}.deb"
},
{
"path": "tmp/bundle-x86_64-unknown-linux-gnu/tauri.AppImage",
"name": "Zebar_x64_${nextRelease.gitTag}.AppImage"
}
]
npm-publish: true
npm-token: ${{ secrets.NPM_TOKEN }}
npm-package-root: packages/client-api
npm-package-manager: pnpm