feat: add upload_tos toggle to release workflow (#1183)
Add a boolean input (default: true) to control whether release artifacts are uploaded to Volcengine TOS. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7df7e0495c
commit
c3c293297d
1 changed files with 6 additions and 0 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -17,6 +17,11 @@ on:
|
|||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
upload_tos:
|
||||
description: "Upload to Volcengine TOS"
|
||||
required: false
|
||||
type: boolean
|
||||
default: true
|
||||
|
||||
jobs:
|
||||
create-tag:
|
||||
|
|
@ -104,6 +109,7 @@ jobs:
|
|||
upload-tos:
|
||||
name: Upload to TOS
|
||||
needs: release
|
||||
if: ${{ inputs.upload_tos }}
|
||||
uses: ./.github/workflows/upload-tos.yml
|
||||
with:
|
||||
tag: ${{ inputs.tag }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue