-
Notifications
You must be signed in to change notification settings - Fork 73
43 lines (38 loc) · 1.38 KB
/
build_darwin_arm64.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
name: Build nRF Connect for Desktop for macOS arm64
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
- test/github-actions
jobs:
build:
runs-on: [self-hosted, macOS, ARM64]
steps:
- uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build-action
- name: Fetch certificate file
env:
NORDIC_SIGNING_CERTIFICATE:
${{ secrets.NORDIC_SIGNING_CERTIFICATE_P12 }}
run:
echo "$NORDIC_SIGNING_CERTIFICATE" | base64 --decode >
./nordic_signing_certificate.p12
if: github.event_name != 'pull_request'
- name: Run Electron Builder
env:
CSC_LINK: ./nordic_signing_certificate.p12
CSC_KEY_PASSWORD: ''
APPLE_ID: ${{ secrets.WAYLAND_APPLE_ID }}
APPLE_ID_PASS: ${{ secrets.WAYLAND_APPLE_APP_SPECIFIC_PASS }}
APPLE_TEAMID: ${{ secrets.WAYLAND_APPLE_TEAMID }}
run: npx electron-builder -p never --arm64
if: github.event_name != 'pull_request'
- name: Upload
uses: ./.github/actions/publish-action
with:
suffix: for macOS arm64