Skip to content

Commit

Permalink
Update dotnet-core-manual.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
daltskin authored Dec 13, 2020
1 parent 08235cd commit 11003ce
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/dotnet-core-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ jobs:
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '5.2.x'
versionSpec: '5.5.0'

- name: GitVersion
uses: docker://gittools/gitversion:5.5.0-linux-ubuntu.16.04-x64-netcoreapp3.1
with:
args: /github/workspace /nofetch /output buildserver

- name: Determine version
uses: gittools/actions/gitversion/[email protected]

- name: Display version
run: |
echo "SemVer: $GITVERSION_SEMVER"
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
Expand All @@ -40,7 +42,7 @@ jobs:
- name: Install dependencies
run: dotnet restore
- name: Build ${{ env.GitVersion_SemVer }}
run: dotnet build --configuration Release --no-restore /p:AssemblyVersion=${{ env.GitVersion_SemVer }} /p:FileVersion=${{ env.GitVersion_AssemblySemFileVer }} /p:InformationalVersion=${{ env.GitVersion_InformationalVersion }}
run: dotnet build --configuration Release --no-restore /p:AssemblyVersion=$GITVERSION_SEMVER /p:FileVersion=$GITVERSION_ASSEMBLYSEMFILEVER /p:InformationalVersion=$GITVERSION_INFORMATIONALVERSION
- name: Test
run: dotnet test --no-restore --verbosity normal

Expand Down

0 comments on commit 11003ce

Please sign in to comment.