From 60c926399b5132fd062f0ea5f1deb0af491fda8e Mon Sep 17 00:00:00 2001 From: Martin Costello Date: Tue, 25 Apr 2023 08:37:17 +0100 Subject: [PATCH 1/2] Disable NuGet package caching Contributes to #1154. --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2364cc3c327..c63c91d95b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,12 +37,12 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3 - - name: Setup NuGet cache - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 - with: - path: ~/.nuget/packages - key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props') }} - restore-keys: ${{ runner.os }}-nuget- + #- name: Setup NuGet cache + # uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 + # with: + # path: ~/.nuget/packages + # key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props') }} + # restore-keys: ${{ runner.os }}-nuget- - name: Build, Test and Package shell: pwsh From 7452c530e5ae05067148e19760677a93a1400226 Mon Sep 17 00:00:00 2001 From: Martin Costello Date: Tue, 25 Apr 2023 08:37:55 +0100 Subject: [PATCH 2/2] Disable NuGet package caching Contributes to #1154. --- .github/workflows/codeql-analysis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b74f7eede88..5afcbf20e2d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -33,12 +33,12 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3 - - name: Setup NuGet cache - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 - with: - path: ~/.nuget/packages - key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props') }} - restore-keys: ${{ runner.os }}-nuget- + #- name: Setup NuGet cache + # uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 + # with: + # path: ~/.nuget/packages + # key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props') }} + # restore-keys: ${{ runner.os }}-nuget- - name: Initialize CodeQL uses: github/codeql-action/init@7df0ce34898d659f95c0c4a09eaa8d4e32ee64db # v2.2.12