From 08153e01b1d8986019b6525e5dd5a910b3515f1d Mon Sep 17 00:00:00 2001 From: Jonas Date: Mon, 27 Nov 2023 19:31:25 +0100 Subject: [PATCH] Manually restore and save cache Will it save when the intermediate ste fails? --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e41b907..bdd651f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,9 +13,17 @@ jobs: with: node-version: 18 cache: 'npm' - - uses: actions/cache@v3 + - name: Restore cached Primes + id: cache-generated-elm-modules-restore + uses: actions/cache/restore@v3 with: path: cache key: ${{ runner.os }}-generated-elm-modules - run: make install - run: make clean setup build + - name: Save Primes + id: cache-generated-elm-modules-save + uses: actions/cache/save@v3 + with: + path: cache + key: ${{ steps.cache-generated-elm-modules-restore.outputs.cache-primary-key }}