Skip to content

Commit ba6a44d

Browse files
committed
Fix reusable workflow package version expression
1 parent 96fbbfe commit ba6a44d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nuget-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
name: 调用准备阶段
4747
uses: ./.github/workflows/prepare-release.yml
4848
with:
49-
package_version: ${{ env.PACKAGE_VERSION }}
49+
package_version: ${{ github.event.inputs.version || github.ref_name }}
5050
permissions:
5151
contents: read
5252

0 commit comments

Comments
 (0)