modified: .github/workflows/main.yml

modified:   .github/workflows/patch_v6.yml
	modified:   .github/workflows/patch_v7.yml
This commit is contained in:
elseif 2026-07-15 01:25:35 +08:00
parent 8955a366fb
commit 73c149696f
3 changed files with 11 additions and 11 deletions

View File

@ -7,35 +7,35 @@ on:
jobs: jobs:
Patch_Stable: Patch_Stable:
uses: ./.github/workflows/build_v7.yml uses: ./.github/workflows/patch_v7.yml
with: with:
channel: stable channel: stable
release: true release: true
secrets: inherit secrets: inherit
Patch_LongTerm: Patch_LongTerm:
uses: ./.github/workflows/build_v7.yml uses: ./.github/workflows/patch_v7.yml
with: with:
channel: long-term channel: long-term
release: true release: true
secrets: inherit secrets: inherit
Patch_Testing: Patch_Testing:
uses: ./.github/workflows/build_v7.yml uses: ./.github/workflows/patch_v7.yml
with: with:
channel: testing channel: testing
release: true release: true
secrets: inherit secrets: inherit
Patch_Stable_V6: Patch_Stable_V6:
uses: ./.github/workflows/build_v6.yml uses: ./.github/workflows/patch_v6.yml
with: with:
channel: stable channel: stable
release: true release: true
secrets: inherit secrets: inherit
Patch_LongTerm_V6: Patch_LongTerm_V6:
uses: ./.github/workflows/build_v6.yml uses: ./.github/workflows/patch_v6.yml
with: with:
channel: long-term channel: long-term
release: true release: true

View File

@ -108,7 +108,7 @@ jobs:
echo "Version: $VERSION, Archs: $ARCHS" echo "Version: $VERSION, Archs: $ARCHS"
Build_RouterOS: Patch_RouterOS:
needs: Prepare_Patch needs: Prepare_Patch
if: needs.Prepare_Patch.outputs.SKIP_BUILD == 'false' if: needs.Prepare_Patch.outputs.SKIP_BUILD == 'false'
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
@ -530,10 +530,10 @@ jobs:
Update_Release: Update_Release:
needs: [Prepare_Patch,Build_RouterOS] needs: [Prepare_Patch,Patch_RouterOS]
if: | if: |
needs.Prepare_Patch.outputs.SKIP_BUILD == 'false' && needs.Prepare_Patch.outputs.SKIP_BUILD == 'false' &&
needs.Build_RouterOS.result == 'success' && needs.Patch_RouterOS.result == 'success' &&
needs.Prepare_Patch.outputs.RELEASE == 'true' needs.Prepare_Patch.outputs.RELEASE == 'true'
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
env: env:

View File

@ -127,7 +127,7 @@ jobs:
echo "RELEASE=$RELEASE" >> $GITHUB_OUTPUT echo "RELEASE=$RELEASE" >> $GITHUB_OUTPUT
echo "Version: $VERSION, Archs: $ARCHS" echo "Version: $VERSION, Archs: $ARCHS"
Build_RouterOS: Patch_RouterOS:
needs: Prepare_Patch needs: Prepare_Patch
if: needs.Prepare_Patch.outputs.SKIP_BUILD == 'false' if: needs.Prepare_Patch.outputs.SKIP_BUILD == 'false'
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
@ -938,10 +938,10 @@ jobs:
--data '{"purge_everything": true}' --data '{"purge_everything": true}'
Update_Release: Update_Release:
needs: [Prepare_Patch,Build_RouterOS] needs: [Prepare_Patch,Patch_RouterOS]
if: | if: |
needs.Prepare_Patch.outputs.SKIP_BUILD == 'false' && needs.Prepare_Patch.outputs.SKIP_BUILD == 'false' &&
needs.Build_RouterOS.result == 'success' && needs.Patch_RouterOS.result == 'success' &&
needs.Prepare_Patch.outputs.RELEASE == 'true' needs.Prepare_Patch.outputs.RELEASE == 'true'
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
env: env: