diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index b618e1e657..04b1d745f6 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -56,6 +56,14 @@ jobs: git fetch --prune --unshallow git submodule -q update --init --recursive + - name: Setup nuget cache + uses: actions/cache@v2 + id: nuget-cache + with: + path: ~/.nuget + key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props', '**/*.targets') }} + restore-keys: ${{ runner.os }}-nuget- + - name: Build shell: pwsh run: ./ci-build.ps1 "${{matrix.options.framework}}"