Browse Source
Update mikrotik_patch_7.yml
Signed-off-by: elseif <elseif@live.cn>
pull/110/head
elseif
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
19 additions and
3 deletions
-
.github/workflows/mikrotik_patch_7.yml
|
|
@ -5,7 +5,23 @@ on: |
|
|
# schedule: |
|
|
# schedule: |
|
|
# - cron: "0 0 * * *" |
|
|
# - cron: "0 0 * * *" |
|
|
workflow_dispatch: |
|
|
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: |
|
|
permissions: |
|
|
contents: write |
|
|
contents: write |
|
|
|
|
|
|
|
|
@ -42,8 +58,8 @@ jobs: |
|
|
runs-on: ubuntu-22.04 |
|
|
runs-on: ubuntu-22.04 |
|
|
strategy: |
|
|
strategy: |
|
|
matrix: |
|
|
matrix: |
|
|
arch: [x86] |
|
|
|
|
|
channel: [stable, testing] |
|
|
|
|
|
|
|
|
arch: [${{ github.event.inputs.arch }}] |
|
|
|
|
|
channel: [${{ github.event.inputs.channel }}] |
|
|
env: |
|
|
env: |
|
|
TZ: 'Asia/Shanghai' |
|
|
TZ: 'Asia/Shanghai' |
|
|
LATEST_VERSION: "" |
|
|
LATEST_VERSION: "" |
|
|
|