-
Notifications
You must be signed in to change notification settings - Fork 35
49 lines (40 loc) · 1.1 KB
/
build-example-desktop-win.yml
File metadata and controls
49 lines (40 loc) · 1.1 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
name: Build Example Desktop (Windows)
on:
workflow_call:
jobs:
build-win:
runs-on: windows-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'yarn'
- name: Enable long paths on Windows
run: git config --system core.longpaths true
- name: Install dependencies
run: |
echo "📦 Installing dependencies..."
yarn
yarn bootstrap
- name: Build all packages
run: |
echo "🔨 Building all packages..."
yarn build
- name: Build Windows App
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd packages/connect-examples/electron-example
yarn make:win
- name: Upload Windows Artifact
uses: actions/upload-artifact@v4
with:
name: win-example-desktop
path: packages/connect-examples/electron-example/out/*.exe