Merge pull request #40 from ww-rm/dev/wf

修复工作流错误
This commit is contained in:
ww-rm
2025-05-28 17:15:34 +08:00
committed by GitHub

View File

@@ -26,7 +26,6 @@ jobs:
dotnet-version: '8.0.x' dotnet-version: '8.0.x'
- name: Extract version from csproj - name: Extract version from csproj
shell: pwsh shell: pwsh
id: extract_version id: extract_version
run: | run: |
@@ -36,10 +35,11 @@ jobs:
echo "VERSION=$VERSION_TAG" >> ${ env:GITHUB_ENV } echo "VERSION=$VERSION_TAG" >> ${ env:GITHUB_ENV }
- name: Tag merge commit - name: Tag merge commit
shell: pwsh
run: | run: |
git config user.name "github-actions[bot]" git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com" git config user.email "github-actions[bot]@users.noreply.github.com"
git tag "${VERSION}" git tag "${ env:VERSION }"
git push --tags git push --tags
- name: Publish FrameworkDependent version - name: Publish FrameworkDependent version