From ece607c8f7f3c4d7bc510ef2beb56e79dc1a7e85 Mon Sep 17 00:00:00 2001 From: elseif Date: Tue, 18 Feb 2025 15:01:10 +0800 Subject: [PATCH] Update mikrotik_patch_7.yml Signed-off-by: elseif --- .github/workflows/mikrotik_patch_7.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mikrotik_patch_7.yml b/.github/workflows/mikrotik_patch_7.yml index aeec300..f0a2aa4 100644 --- a/.github/workflows/mikrotik_patch_7.yml +++ b/.github/workflows/mikrotik_patch_7.yml @@ -5,7 +5,23 @@ on: # schedule: # - cron: "0 0 * * *" workflow_dispatch: - + inputs: + arch: + description: 'Architecture (x86, arm64)' + required: true + default: 'x86' + type: choice + options: + - x86 + - arm64 + channel: + description: 'Channel (stable, testing)' + required: true + default: 'stable' + type: choice + options: + - stable + - testing permissions: contents: write @@ -42,8 +58,8 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - arch: [x86] - channel: [stable, testing] + arch: [${{ github.event.inputs.arch }}] + channel: [${{ github.event.inputs.channel }}] env: TZ: 'Asia/Shanghai' LATEST_VERSION: ""