From 5f5f9d2d604bb163598f297e5fba6a2b7525b5b5 Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Fri, 27 Dec 2024 17:19:00 +0800 Subject: [PATCH] =?UTF-8?q?misc=EF=BC=9Amanually=20enter=20version=20prefi?= =?UTF-8?q?x=20in=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pack-nightly.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pack-nightly.yml b/.github/workflows/pack-nightly.yml index f657602..5a789c7 100644 --- a/.github/workflows/pack-nightly.yml +++ b/.github/workflows/pack-nightly.yml @@ -3,6 +3,11 @@ name: Pack Nightly on: workflow_dispatch: inputs: + Version_Prefix: + description: 'Version Prefix' + required: true + default: '11.2.999' + type: string Semi_Avalonia: description: 'Pack Semi.Avalonia' required: true @@ -35,7 +40,7 @@ jobs: - name: Get Version run: | VERSION_TIMESTAMP=$(date +'%Y%m%d%H%M%S') - VERSION="${{ vars.VERSION_NIGHTLY_PREFIX }}-nightly-${VERSION_TIMESTAMP}" + VERSION="${{ github.event.inputs.Version_Prefix }}-nightly-${VERSION_TIMESTAMP}" echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Pack Semi.Avalonia