Open
Description
Describe the bug
Using the following configuration, the cache works great across jobs in the same run (even with the default values of key
and restore-keys
, but, re-running the workflow, the cache is never found:
job1:
name: job1
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: satackey/[email protected]
with:
key: images-docker-cached-${{ github.workflow }}
restore-keys: |
images-docker-cached-
- name: Build images
run: |
cd docker-compose/
docker-compose -f docker-compose-images.yaml build
Output:
Root cache could not be found. aborting.
Don't know if it's related with: #49
Because the post step works fine, and again, puts all the layers in cache (and can be used in the next job), but never in the next run.
Expected behavior
The cache can be used across different runs.
Runner Environment:
- OS: Ubuntu 20.04.2
I am doing something wrong?
Thanks