Skip to content

Commit

Permalink
misc:manually enter version prefix in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zdpcdt committed Dec 27, 2024
1 parent 382617f commit 5f5f9d2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pack-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5f5f9d2

Please sign in to comment.