File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
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 }}
17
- versionSuffix : ${{ steps.gitversion.outputs.preReleaseTag }}
16
+ VERSION : ${{ steps.gitversion.outputs.majorMinorPatch }}${{ PreReleaseTagWithDash }}
18
17
steps :
19
18
- uses : actions/checkout@v3
20
19
with :
36
35
needs : [version]
37
36
runs-on : ubuntu-latest
38
37
env :
39
- version : ${{ needs.version.outputs.version }}
40
- versionSuffix : ${{ needs.version.outputs.versionSuffix }}
38
+ VERSION : ${{ needs.version.outputs.VERSION }}
41
39
steps :
42
40
- uses : actions/checkout@v3
43
41
- run : ' echo version: ${{ env.version }}'
47
45
with :
48
46
dotnet-version : ${{ vars.DOTNET_VERSION }}
49
47
- name : Build with .NET ${{ vars.DOTNET_VERSION }}
50
- 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 }} -p:VersionSuffix=${{ env.versionSuffix }}
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 }}
51
49
- name : Upload Build
52
50
uses : actions/upload-artifact@v4
53
51
with :
You can’t perform that action at this time.
0 commit comments