-
Notifications
You must be signed in to change notification settings - Fork 73
58 lines (53 loc) · 1.36 KB
/
main.yml
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
name: Build nRF Connect for Desktop
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
inputs:
release:
description: Run Release Workflow
required: true
default: false
type: boolean
prerelease:
description: Make the release a pre-release
required: true
default: true
type: boolean
draft:
description: Create draft release
required: true
default: true
type: boolean
jobs:
build_on_windows:
uses: ./.github/workflows/build.yml
with:
runner: windows-latest
electronArgument: --windows nsis:x64
build_on_ubuntu:
uses: ./.github/workflows/build.yml
with:
runner: ubuntu-latest
electronArgument: ''
release:
if: github.event_name == 'workflow_dispatch' && inputs.release
needs: [ build_on_windows, build_on_ubuntu ]
uses: ./.github/workflows/release.yml
with:
prerelease: ${{ inputs.prerelease }}
draft: ${{ inputs.draft }}
# build_on_mac_intel:
# uses: ./.github/workflows/build.yml
# with:
# runner: macos-latest
# electronArgument: --x64
# build_on_mac_apple_silicon:
# uses: ./.github/workflows/build.yml
# with:
# runner: macos-latest-xlarge
# electronArgument: