Skip to content

Update dependency @nordicsemiconductor/pc-nrfconnect-shared to v250 - autoclosed #959

Update dependency @nordicsemiconductor/pc-nrfconnect-shared to v250 - autoclosed

Update dependency @nordicsemiconductor/pc-nrfconnect-shared to v250 - autoclosed #959

Workflow file for this run

name: Build
on:
workflow_dispatch:
inputs:
ref:
description:
Ref (Tag, branch, commit SHA) to build.
Defaults to the ref of the workflow.
type: string
jlink-version:
description:
Which J-Link version is bundled with the launcher, e.g. v8.76.
Only version available on files.nordicsemi.com can be used.
Use this only for testing purposes.
type: string
workflow_call:
inputs:
ref:
description: Ref to build from
type: string
outputs:
build-success:
description: Whether the build completed successfully
value:
${{
jobs.windows.result == 'success' &&
jobs.linux.result == 'success' &&
jobs.darwin_x64.result == 'success' &&
jobs.darwin_arm64.result == 'success'
}}
pull_request:
paths-ignore:
- doc/**
push:
branches:
- main
paths-ignore:
- doc/**
jobs:
echo-inputs:
runs-on: ubuntu-latest
name: Inputs
steps:
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
env:
REF: ${{ inputs.ref }}
FALLBACK_REF: ${{ github.ref_name }}
JLINK_VERSION: ${{ inputs.jlink-version }}
with:
script: |
core.summary.addHeading('Workflow inputs', '2');
core.summary.addTable([
['Ref', process.env.REF ? `<code>${process.env.REF}</code>` : `not set explicitly, using ref <code>${process.env.FALLBACK_REF}</code>`],
['J-Link version', process.env.JLINK_VERSION ? `<code>${process.env.JLINK_VERSION}</code>` : `not set`],
]);
core.summary.write();
windows:
uses: ./.github/workflows/build_win.yml
secrets: inherit
with:
ref: ${{ inputs.ref }}
jlink-version: ${{ inputs.jlink-version }}
linux:
uses: ./.github/workflows/build_linux.yml
secrets: inherit
with:
ref: ${{ inputs.ref }}
jlink-version: ${{ inputs.jlink-version }}
darwin_x64:
uses: ./.github/workflows/build_darwin.yml
secrets: inherit
with:
arch: x64
ref: ${{ inputs.ref }}
jlink-version: ${{ inputs.jlink-version }}
darwin_arm64:
uses: ./.github/workflows/build_darwin.yml
secrets: inherit
with:
arch: arm64
ref: ${{ inputs.ref }}
jlink-version: ${{ inputs.jlink-version }}