From 30c7b77118994b245729099485185c0c5f77b234 Mon Sep 17 00:00:00 2001
From: Mary <me@thog.eu>
Date: Sun, 24 Jan 2021 14:29:16 +0100
Subject: [PATCH] Github Actions: Workaround windows-latest restore failures
 (#1957)

See https://github.com/actions/setup-dotnet/issues/155.
---
 .github/workflows/build.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 596ed5b8a..5bd3e4f13 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -33,6 +33,8 @@ jobs:
       - uses: actions/setup-dotnet@v1
         with:
           dotnet-version: 5.0.x
+      - name: Clear
+        run: dotnet clean && dotnet nuget locals all --clear
       - name: Build
         run: dotnet build -c "${{ matrix.configuration }}"
       - name: Test