File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 13
13
name : Version with GitVersion ${{ vars.GIT_VERSION }}
14
14
runs-on : ubuntu-latest
15
15
outputs :
16
- VERSION : ${{ steps.gitversion.outputs.majorMinorPatch }}${{ steps.gitversion.outputs.preReleaseTagWithDash }}
16
+ ASSEMBLY_VERSION : ${{ steps.gitversion.outputs.assemblySemVer }}
17
17
steps :
18
18
- uses : actions/checkout@v3
19
19
with :
45
45
with :
46
46
dotnet-version : ${{ vars.DOTNET_VERSION }}
47
47
- name : Build with .NET ${{ vars.DOTNET_VERSION }}
48
- run : dotnet build ./src/**/*.csproj --configuration ${{ vars.BUILD_CONFIGURATION }} /p:Platform=${{ vars.BUILD_PLATFORM }} -p:Version=${{ env.VERSION }} -p:FileVersion=${{ env.VERSION }} -p:AssemblyInformationalVersion=${{ env.VERSION }}
48
+ run : dotnet build ./src/**/*.csproj --configuration ${{ vars.BUILD_CONFIGURATION }} /p:Platform=${{ vars.BUILD_PLATFORM }} -p:Version=${{ env.ASSEMBLY_VERSION }} -p:FileVersion=${{ env.ASSEMBLY_VERSION }} -p:AssemblyInformationalVersion=${{ env.ASSEMBLY_VERSION }}
49
49
- name : Upload Build
50
50
uses : actions/upload-artifact@v4
51
51
with :
You can’t perform that action at this time.
0 commit comments