Skip to content

Commit 8e662d4

Browse files
author
Petr Sramek
committed
kg
1 parent 196b267 commit 8e662d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Version with GitVersion ${{ vars.GIT_VERSION }}
1414
runs-on: ubuntu-latest
1515
outputs:
16-
VERSION: ${{ steps.gitversion.outputs.majorMinorPatch }}${{ steps.gitversion.outputs.preReleaseTagWithDash }}
16+
ASSEMBLY_VERSION: ${{ steps.gitversion.outputs.assemblySemVer }}
1717
steps:
1818
- uses: actions/checkout@v3
1919
with:
@@ -45,7 +45,7 @@ jobs:
4545
with:
4646
dotnet-version: ${{ vars.DOTNET_VERSION }}
4747
- 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 }}
4949
- name: Upload Build
5050
uses: actions/upload-artifact@v4
5151
with:

0 commit comments

Comments
 (0)