mirror of https://github.com/zmkfirmware/zmk.git
Merge 4a33c016f3 into ad7fbfef92
This commit is contained in:
commit
ab3360cea6
|
|
@ -23,10 +23,15 @@ on:
|
||||||
default: "firmware"
|
default: "firmware"
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
runner-type:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
default: "ubuntu-latest" # Provide a default if desired
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
matrix:
|
matrix:
|
||||||
runs-on: ubuntu-22.04
|
# Use the input value for runs-on
|
||||||
|
runs-on: ${{ inputs.runner-type }}
|
||||||
name: Fetch Build Keyboards
|
name: Fetch Build Keyboards
|
||||||
outputs:
|
outputs:
|
||||||
build_matrix: ${{ env.build_matrix }}
|
build_matrix: ${{ env.build_matrix }}
|
||||||
|
|
@ -40,7 +45,8 @@ jobs:
|
||||||
yq -oj "${{ inputs.build_matrix_path }}"
|
yq -oj "${{ inputs.build_matrix_path }}"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
# Use the input value for runs-on
|
||||||
|
runs-on: ${{ inputs.runner-type }}
|
||||||
container:
|
container:
|
||||||
image: zmkfirmware/zmk-build-arm:stable
|
image: zmkfirmware/zmk-build-arm:stable
|
||||||
needs: matrix
|
needs: matrix
|
||||||
|
|
@ -167,7 +173,8 @@ jobs:
|
||||||
path: ${{ env.build_dir }}/artifacts
|
path: ${{ env.build_dir }}/artifacts
|
||||||
|
|
||||||
merge:
|
merge:
|
||||||
runs-on: ubuntu-latest
|
# Use the input value for runs-on
|
||||||
|
runs-on: ${{ inputs.runner-type }}
|
||||||
needs: build
|
needs: build
|
||||||
name: Merge Output Artifacts
|
name: Merge Output Artifacts
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue