From f7cf94def306c2f9fde814789f7ec3a329346b31 Mon Sep 17 00:00:00 2001 From: Kaioru Date: Sat, 14 Oct 2023 02:14:47 +0800 Subject: [PATCH] Change cache to only get specified key --- .github/workflows/build.yaml | 2 -- .github/workflows/publish.yaml | 4 ---- 2 files changed, 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 17edc15aa..e9bc96263 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,8 +20,6 @@ jobs: with: path: ~/.nuget/packages key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} - restore-keys: | - ${{ runner.os }}-nuget- - run: dotnet restore --locked-mode diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 1ad7159d2..9d4bc79c1 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -57,8 +57,6 @@ jobs: with: path: ~/.nuget/packages key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} - restore-keys: | - ${{ runner.os }}-nuget- - name: Restore run: dotnet restore --locked-mode @@ -106,8 +104,6 @@ jobs: with: path: ~/.nuget/packages key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} - restore-keys: | - ${{ runner.os }}-nuget- - name: Restore run: dotnet restore --locked-mode