Skip to content

Commit

Permalink
Show version in during build action
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhelms committed Jul 19, 2024
1 parent 5546e87 commit 4197cc7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ jobs:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Restore Tools
run: dotnet tool restore
- name: Restore
run: dotnet restore ${{ env.SOLUTION }}
- name: Build
run: dotnet build ${{ env.SOLUTION }} -c Release --no-restore
- name: Show Version
run: dotnet tool run dotnet-gitversion
- name: Test
run: dotnet test ${{ env.SOLUTION }} -c Release --no-build

0 comments on commit 4197cc7

Please sign in to comment.