Skip to content

Commit

Permalink
Set up dotnet before GitVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
alastairs committed Apr 14, 2024
1 parent b956c6b commit 5b7b1e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup dotnet ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-versions: ${{ matrix.dotnet-version }}
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v1.1.1
with:
Expand All @@ -29,10 +33,6 @@ jobs:
uses: gittools/actions/gitversion/execute@v1.1.1
with:
useConfigFile: true
- name: Setup dotnet ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-versions: ${{ matrix.dotnet-version }}
- name: Build
run: dotnet build --configuration Release
- name: Test
Expand Down

0 comments on commit 5b7b1e6

Please sign in to comment.