fix path #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build nRF Connect for Desktop for Darwin ARM64 | |
on: | |
workflow_call: | |
inputs: | |
runner: | |
required: true | |
type: string # [Windows, macOS, Linux] | |
electronArgument: | |
required: true | |
type: string # e.g. --windows nsis:x64 | |
jobs: | |
build: | |
runs-on: ${{ fromJSON(inputs.runner) }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- uses: .github/build_template/action.yml | |
- 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 ${{ inputs.electronArgument }} | |
- name: Publish built artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: nRF Connect for Desktop win32 | |
path: 'release/nrfconnect*' | |
retention-days: 7 |