From 5d6e3b7e565b931d379942828e7142637eab80a1 Mon Sep 17 00:00:00 2001 From: Frank Bernhardt Date: Thu, 24 Oct 2024 13:13:26 +0200 Subject: [PATCH] try cache --- .github/workflows/cache.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index dba0ca22..20ff2c6a 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -16,6 +16,9 @@ jobs: with: path: foo/bin key: foo-${{ hashFiles('foo/src/**') }} + restore-keys: | + foo + foo-bla - name: Write dummy file and save cache if needed if: steps.cache.outputs.cache-hit != 'true' @@ -29,6 +32,12 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Restore cached Primes + uses: actions/cache/restore@v4 + with: + path: foo/bin + key: foo + - name: Use cached bin folder run: | ls -la foo/bin/