Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use choice for github action workflows #377

Merged
merged 1 commit into from
Jun 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 26 additions & 5 deletions .github/workflows/build-armbian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,38 @@ on:
workflow_dispatch:
inputs:
set_branch:
description: "Branch: current / edge"
description: "Branch"
required: false
default: "current"
type: choice
options:
- current
- edge
set_release:
description: "Release: jammy / focal / bullseye"
description: "Release"
required: false
default: "jammy"
type: choice
options:
- jammy
- focal
- bullseye
set_board:
description: "Board: odroidn2 / lepotato"
description: "Board"
required: false
default: "odroidn2"
type: choice
options:
- odroidn2
- lepotato
set_desktop:
description: "Build Desktop: no / xfce"
description: "Build Desktop"
required: false
default: "no"
type: choice
options:
- no
- xfce
armbian_soc:
description: "Set Amlogic SoC."
required: false
Expand All @@ -38,9 +55,13 @@ on:
required: false
default: "2748"
armbian_fstype:
description: "Set armbian rootfs type: ext4 / btrfs"
description: "Set armbian rootfs type."
required: false
default: "ext4"
type: choice
options:
- ext4
- btrfs
armbian_sign:
description: "Set armbian custom name."
required: false
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/compile-kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ on:
kernel_auto:
description: "Auto use the latest kernel"
required: false
default: "true"
default: true
type: boolean
kernel_sign:
description: "Set the kernel custom signature"
required: false
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rebuild-armbian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
description: "Set armbian rootfs type: ext4 / btrfs"
required: false
default: "ext4"
type: choice
options:
- ext4
- btrfs

env:
TZ: Asia/Shanghai
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/use-releases-file-to-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@ on:
workflow_dispatch:
inputs:
sel_tags_keywords:
description: "Release: jammy / focal / bullseye"
description: "Release"
required: false
default: "jammy"
type: choice
options:
- jammy
- focal
- bullseye
armbian_soc:
description: "Set Amlogic SoC."
required: false
Expand All @@ -26,9 +31,13 @@ on:
required: false
default: "2748"
armbian_fstype:
description: "Set armbian rootfs type: ext4 / btrfs"
description: "Set armbian rootfs type."
required: false
default: "ext4"
type: choice
options:
- ext4
- btrfs

env:
TZ: Asia/Shanghai
Expand Down