mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Actions: run build train from any branch (#3465)
This commit is contained in:
@@ -1,8 +1,25 @@
|
|||||||
name: Beta Images
|
name: Build Images
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
choice:
|
||||||
|
type: choice
|
||||||
|
description: Build targets
|
||||||
|
options:
|
||||||
|
- beta
|
||||||
|
- stable
|
||||||
|
- rc
|
||||||
|
runner:
|
||||||
|
type: choice
|
||||||
|
description: Build runners for CLI
|
||||||
|
options:
|
||||||
|
- small
|
||||||
|
- ubuntu-latest
|
||||||
|
sourcerepo:
|
||||||
|
description: Source repository
|
||||||
|
required: true
|
||||||
|
default: 'nightly'
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
fake:
|
fake:
|
||||||
@@ -36,8 +53,9 @@ jobs:
|
|||||||
|
|
||||||
with:
|
with:
|
||||||
|
|
||||||
variant: 'cli:beta'
|
variant: 'cli:${{ github.event.inputs.choice }}'
|
||||||
runner: "small"
|
sourcerepo: '${{ github.event.inputs.sourcerepo }}'
|
||||||
|
runner: '${{ github.event.inputs.runner }}'
|
||||||
part: 1
|
part: 1
|
||||||
of: 1
|
of: 1
|
||||||
include: 'grep uefi-x86 | '
|
include: 'grep uefi-x86 | '
|
||||||
@@ -59,7 +77,8 @@ jobs:
|
|||||||
|
|
||||||
with:
|
with:
|
||||||
|
|
||||||
variant: 'desktop:beta'
|
variant: 'desktop:${{ github.event.inputs.choice }}'
|
||||||
|
sourcerepo: '${{ github.event.inputs.sourcerepo }}'
|
||||||
runner: "big"
|
runner: "big"
|
||||||
part: 1
|
part: 1
|
||||||
of: 1
|
of: 1
|
||||||
@@ -82,8 +101,9 @@ jobs:
|
|||||||
|
|
||||||
with:
|
with:
|
||||||
|
|
||||||
variant: 'cli:beta'
|
variant: 'cli:${{ github.event.inputs.choice }}'
|
||||||
runner: "small"
|
sourcerepo: '${{ github.event.inputs.sourcerepo }}'
|
||||||
|
runner: '${{ github.event.inputs.runner }}'
|
||||||
part: 1
|
part: 1
|
||||||
of: 1
|
of: 1
|
||||||
include: ''
|
include: ''
|
||||||
@@ -105,7 +125,8 @@ jobs:
|
|||||||
uses: armbian/scripts/.github/workflows/build-with-docker.yml@master
|
uses: armbian/scripts/.github/workflows/build-with-docker.yml@master
|
||||||
|
|
||||||
with:
|
with:
|
||||||
variant: 'desktop:beta'
|
variant: 'desktop:${{ github.event.inputs.choice }}'
|
||||||
|
sourcerepo: '${{ github.event.inputs.sourcerepo }}'
|
||||||
runner: "big"
|
runner: "big"
|
||||||
part: 1
|
part: 1
|
||||||
of: 1
|
of: 1
|
||||||
4
.github/workflows/build-train.yml
vendored
4
.github/workflows/build-train.yml
vendored
@@ -243,6 +243,7 @@ jobs:
|
|||||||
|
|
||||||
variant: 'cli:beta'
|
variant: 'cli:beta'
|
||||||
runner: "ubuntu-latest"
|
runner: "ubuntu-latest"
|
||||||
|
sourcerepo: 'nightly'
|
||||||
part: 1
|
part: 1
|
||||||
of: 1
|
of: 1
|
||||||
include: 'grep uefi-x86 | '
|
include: 'grep uefi-x86 | '
|
||||||
@@ -272,6 +273,7 @@ jobs:
|
|||||||
|
|
||||||
variant: 'desktop:beta'
|
variant: 'desktop:beta'
|
||||||
runner: "ubuntu-latest"
|
runner: "ubuntu-latest"
|
||||||
|
sourcerepo: 'nightly'
|
||||||
part: 1
|
part: 1
|
||||||
of: 1
|
of: 1
|
||||||
include: 'grep uefi-x86 | '
|
include: 'grep uefi-x86 | '
|
||||||
@@ -301,6 +303,7 @@ jobs:
|
|||||||
|
|
||||||
variant: 'cli:beta'
|
variant: 'cli:beta'
|
||||||
runner: "ubuntu-latest"
|
runner: "ubuntu-latest"
|
||||||
|
sourcerepo: 'nightly'
|
||||||
part: 1
|
part: 1
|
||||||
of: 1
|
of: 1
|
||||||
include: ''
|
include: ''
|
||||||
@@ -329,6 +332,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
variant: 'desktop:beta'
|
variant: 'desktop:beta'
|
||||||
runner: "big"
|
runner: "big"
|
||||||
|
sourcerepo: 'nightly'
|
||||||
part: 1
|
part: 1
|
||||||
of: 1
|
of: 1
|
||||||
include: ''
|
include: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user