From ce7c6f3802cfc0aa274b3f0de3aa7bc1a8f5325f Mon Sep 17 00:00:00 2001 From: ww-rm Date: Wed, 28 May 2025 17:14:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=A5=E4=BD=9C=E6=B5=81?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dotnet-desktop.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index 8d35f95..d155209 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -26,7 +26,6 @@ jobs: dotnet-version: '8.0.x' - name: Extract version from csproj - shell: pwsh id: extract_version run: | @@ -36,10 +35,11 @@ jobs: echo "VERSION=$VERSION_TAG" >> ${ env:GITHUB_ENV } - name: Tag merge commit + shell: pwsh run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - git tag "${VERSION}" + git tag "${ env:VERSION }" git push --tags - name: Publish FrameworkDependent version