From c3c293297df5f42f95162bd36b848d36c49f76d5 Mon Sep 17 00:00:00 2001 From: Guoguo <16666742+imguoguo@users.noreply.github.com> Date: Fri, 6 Mar 2026 16:27:43 +0800 Subject: [PATCH] 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 --- .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 }}