File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 5555 - name : Build
5656 run : dotnet build --no-restore
5757 - name : Publish
58- run : dotnet publish -c Release -r ${{matrix.target}} -o ${{github.workspace}}/publish/${{matrix.target}}
58+ run : dotnet publish -c Release -r ${{matrix.target}} -o ${{github.workspace}}/publish/${{matrix.target}} -p:Version=${{inputs.version}}
5959 - name : Compress (Ubuntu)
6060 if : startsWith(matrix.os, 'ubuntu')
6161 run : |
Original file line number Diff line number Diff line change 44 <OutputType >Exe</OutputType >
55 <TargetFramework >net9.0</TargetFramework >
66 <ImplicitUsings >enable</ImplicitUsings >
7+ <Version Condition =" '$(Version)' == ''" >0.0.0</Version >
8+ <IncludeSourceRevisionInInformationalVersion >false</IncludeSourceRevisionInInformationalVersion >
79 <Nullable >enable</Nullable >
810 <PublishAot >true</PublishAot >
911 <InvariantGlobalization >true</InvariantGlobalization >
You can’t perform that action at this time.
0 commit comments