diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 445658e..c9dfccd 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -12,7 +12,21 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + # Install the .NET Core workload + - name: Install .NET Core + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + + # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild + - name: Setup MSBuild.exe + uses: microsoft/setup-msbuild@v2 + - uses: nuget/setup-nuget@v1 - name: Restore dependencies run: dotnet restore