modified: .github/workflows/main.yml

modified:   .github/workflows/patch_v7.yml
This commit is contained in:
elseif
2026-09-03 15:27:09 +08:00
parent c00a16b842
commit 452cf3133f
2 changed files with 14 additions and 2 deletions

View File

@@ -34,7 +34,17 @@ jobs:
channel: long-term
release: true
secrets: inherit
Patch_Development_V7:
if: |
(github.event_name == 'schedule') ||
(github.event_name == 'workflow_dispatch' && (github.event.inputs.version == 'all' || github.event.inputs.version == 'v7'))
uses: ./.github/workflows/patch_v7.yml
with:
channel: development
release: true
secrets: inherit
Patch_Stable_V6:
if: |
(github.event_name == 'schedule') ||

View File

@@ -3,13 +3,14 @@ on:
workflow_dispatch:
inputs:
channel:
description: 'Channel (stable, long-term)'
description: 'Channel (stable, long-term, development)'
required: true
default: 'stable'
type: choice
options:
- stable
- long-term
- development
arch:
description: 'Architecture (x86, arm64)'
required: true
@@ -1018,6 +1019,7 @@ jobs:
body_path: ${{env.BUILD_DIR}}/RELEASE_BODY.md
tag_name: ${{ env.VERSION }}${{ env.ARCH_EXT }}
make_latest: ${{ env.CHANNEL == 'stable' && matrix.arch == 'x86'}}
prerelease: ${{ env.CHANNEL == 'development' || env.CHANNEL == 'testing'}}
files: |
${{env.PUBLISH_DIR}}/*.zip
${{env.PUBLISH_DIR}}/*.zip.sha256