-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (47 loc) · 1.2 KB
/
desktop.yml
File metadata and controls
55 lines (47 loc) · 1.2 KB
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
name: Desktop
on:
workflow_call:
inputs:
tag:
required: true
type: string
jobs:
build:
strategy:
matrix:
include:
- os: macos-latest
platform: mac
- os: ubuntu-latest
platform: linux
- os: windows-latest
platform: win
runs-on: ${{ matrix.os }}
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.tag }}
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build:desktop
- uses: actions/upload-artifact@v4
with:
name: desktop-${{ matrix.platform }}
path: |
packages/desktop/out/*.dmg
packages/desktop/out/*.exe
packages/desktop/out/*.AppImage
if-no-files-found: ignore
- uses: softprops/action-gh-release@v2
with:
tag_name: ${{ inputs.tag }}
files: |
packages/desktop/out/*.dmg
packages/desktop/out/*.exe
packages/desktop/out/*.AppImage