Skip to content

Commit

Permalink
Use choice for github action workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 authored Jun 16, 2022
1 parent 2407840 commit 46c226a
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 8 deletions.
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

0 comments on commit 46c226a

Please sign in to comment.