Skip to content

Commit

Permalink
Merge pull request #377 from yujincheng08/option
Browse files Browse the repository at this point in the history
Use `choice` for github action workflows
  • Loading branch information
ophub committed Jun 16, 2022
2 parents df84423 + e23c391 commit c76919d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
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
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 c76919d

Please sign in to comment.