modified: .github/workflows/main.yml

modified:   .github/workflows/patch_v6.yml
	modified:   .github/workflows/patch_v7.yml
This commit is contained in:
elseif
2026-09-04 16:08:42 +08:00
parent 5499390241
commit e6462f2f03
3 changed files with 18 additions and 10 deletions

View File

@@ -230,6 +230,7 @@ jobs:
with:
version: ${{ matrix.target.version }}
channels: ${{ toJson(matrix.target.channels) }}
archs: ${{ needs.Prepare_Patch.outputs.archs }}
buildtime: ${{ inputs.buildtime }}
release: ${{ github.event_name != 'workflow_dispatch' || inputs.release }}
secrets: inherit

View File

@@ -2,17 +2,20 @@ name: Patch RouterOS v6
on:
workflow_call:
inputs:
version:
required: true
type: string
channels:
required: true
type: string
version:
required: false
archs:
required: true
type: string
buildtime:
required: false
required: true
type: string
release:
required: false
required: true
type: boolean
env:
@@ -38,10 +41,14 @@ env:
jobs:
Patch_RouterOS:
runs-on: ubuntu-24.04
strategy:
matrix:
arch: ${{ fromJson( inputs.archs ) }}
fail-fast: false
env:
TZ: 'Asia/Shanghai'
CHANNELS: ${{ inputs.channels }}
ARCH: "x86"
ARCH: ${{ matrix.arch }}
VERSION: ${{ inputs.version }}
BUILD_TIME: ${{ inputs.buildtime }}
RELEASE: ${{ inputs.release }}

View File

@@ -2,20 +2,20 @@ name: Patch RouterOS v7
on:
workflow_call:
inputs:
version:
required: true
type: string
channels:
required: true
type: string
archs:
required: true
type: string
version:
required: false
type: string
buildtime:
required: false
required: true
type: string
release:
required: false
required: true
type: boolean
env: