-
Notifications
You must be signed in to change notification settings - Fork 72
45 lines (39 loc) · 1.5 KB
/
build_darwin_x64.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
name: Build nRF Connect for Desktop for macOS x64
on:
workflow_dispatch:
inputs:
workflow_call:
jobs:
build:
runs-on: macos-13
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 --x64
if: github.event_name != 'pull_request'
- name: Rename latest-mac.yml
run: |
cd release
mv latest-mac.yml latest-mac-x64.yml
if: github.event_name != 'pull_request'
- name: Upload
uses: ./.github/actions/publish-action
with:
suffix: macOS-x64
if: github.event_name != 'pull_request'