add the version in the dotnet publish instead
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m49s

This commit is contained in:
Pierre Geeraert
2025-11-06 14:23:16 +00:00
parent 11ce381d43
commit feec97b759
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
- name: Build the package
run: dotnet build -p:Version=$next_version,FileVersion=$next_version,AssemblyVersion=$next_version,InformationalVersion=$next_version
- name: Publish the package
run: dotnet publish -p:PublishSingleFile=true,AssemblyName=${{ vars.EXECUTABLE_NAME }} --self-contained false --runtime ${{ vars.RUNTIME }}
run: dotnet publish -p:PublishSingleFile=true,AssemblyName=${{ vars.EXECUTABLE_NAME }},Version=$next_version,FileVersion=$next_version,AssemblyVersion=$next_version,InformationalVersion=$next_version --self-contained false --runtime ${{ vars.RUNTIME }}
- name: List all files
run: |