From 690caed36d35f06fe3f8ebfb87be78f5bb48c01b Mon Sep 17 00:00:00 2001 From: Guoguo Date: Thu, 5 Mar 2026 23:50:56 -0800 Subject: [PATCH] feat: add upload_tos toggle to release workflow Add a boolean input (default: true) to control whether release artifacts are uploaded to Volcengine TOS. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6566afe96..0edd29f22 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}