diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 45258b8..01f6fcf 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -19,9 +19,13 @@ jobs: fetch-depth: 0 - uses: actions/setup-dotnet@v3 + id: dotnetstep name: .NET Setup with: - dotnet-version: 7.0.x + dotnet-version: 5.0.x + + - name: Create Temporary Global.json + run: echo '{"sdk":{"version":"${{ steps.dotnetstep.outputs.dotnet-version }}", "rollForward":"major"}}' > ./global.json - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0