From 180a04303e55b63093f9a850887f3a4d1fe927bd Mon Sep 17 00:00:00 2001 From: Philip Colmer Date: Tue, 14 May 2024 09:02:56 +0100 Subject: [PATCH] Add restoration of main cache --- .github/workflows/pull_request.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 048178b..5f3b5e9 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -24,7 +24,15 @@ jobs: with: fetch-depth: "0" - - uses: actions/cache/restore@v3 + - name: Restore main cache first + uses: actions/cache/restore@v3 + id: cache + with: + path: cache + key: cache-main + + - name: Restore PR cache second + uses: actions/cache/restore@v3 id: cache with: path: cache