modified: .github/workflows/mikrotik_patch_7.yml

This commit is contained in:
zyb 2025-06-19 12:22:59 +08:00
parent 2d2ca3e493
commit 511392906b

View File

@ -93,13 +93,16 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
strategy: strategy:
matrix: matrix:
arch: ['x86','arm64'] include:
channel: ['stable','testing'] - arch: x86
if: > channel: stable
github.event_name == 'schedule' || - arch: arm64
(github.event_name == 'workflow_dispatch' && channel: stable
matrix.arch == github.event.inputs.arch && - arch: x86
matrix.channel == github.event.inputs.channel) channel: testing
- arch: arm64
channel: testing
if: ${{ github.event_name != 'workflow_dispatch' || (github.event.inputs.arch == matrix.arch && github.event.inputs.channel == matrix.channel) }}
env: env:
TZ: 'Asia/Shanghai' TZ: 'Asia/Shanghai'
BUILD_TIME: ${{ needs.Set_Variables.outputs.BUILD_TIME }} BUILD_TIME: ${{ needs.Set_Variables.outputs.BUILD_TIME }}