10
This commit is contained in:
@@ -26,6 +26,6 @@ jobs:
|
||||
job2:
|
||||
needs:
|
||||
- job1
|
||||
uses: ./.gitea/workflow/step1.yml
|
||||
uses: ./.gitea/workflows/step1.yml
|
||||
with:
|
||||
VERSION: ${{ needs.job1.outputs.version }}
|
||||
@@ -0,0 +1,24 @@
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
VERSION:
|
||||
required: true
|
||||
type: string
|
||||
jobs:
|
||||
job:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- kernel: bcm2711_defconfig
|
||||
runner: cicd.bookworm
|
||||
- kernel: bcm2712_defconfig
|
||||
runner: cicd.bookworm
|
||||
- kernel: bcm2712_pve_defconfig
|
||||
runner: cicd.bookworm
|
||||
runs-on: ${{ matrix.runner }}
|
||||
steps:
|
||||
- name: step1
|
||||
run: |
|
||||
/usr/bin/echo "Kernel: ${{ matrix.kernel }}"
|
||||
/usr/bin/echo "Runner: ${{ matrix.runner }}"
|
||||
/usr/bin/echo "Version: ${{ inputs.VERSION }}"
|
||||
Reference in New Issue
Block a user