Skip to content

Update main.yml

Update main.yml #2

Workflow file for this run

name: Build nRF Connect for Desktop for Darwin ARM64
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
- test/github-actions
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build-action
- name: Fetch certificate file
shell: bash
env:
NORDIC_SIGNING_CERTIFICATE:
${{ secrets.NORDIC_SIGNING_CERTIFICATE_PFX }}
run:
echo "$NORDIC_SIGNING_CERTIFICATE" | base64 --decode >
./nordic_signing_certificate.pfx
- name: Run Electron Builder
env:
CSC_LINK: ./nordic_signing_certificate.pfx
CSC_KEY_PASSWORD:
${{ secrets.NORDIC_SIGNING_CERTIFICATE_PFX_PASS }}
run: npx electron-builder -p never --windows nsis:x64
- name: Upload
uses: ./.github/actions/publish-action
with:
suffix: for Windows x64