diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 87c9e984..2ff58179 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,14 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: '6.0.x' + + - name: Cache NuGet packages + uses: actions/cache@v1 + with: + path: ~/.nuget/packages + key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} + restore-keys: | + ${{ runner.os }}-nuget- - name: Install dependencies run: dotnet restore