1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-03 21:17:47 +02:00

Fixed heading

This commit is contained in:
Sankalp Kotewar 2023-01-10 12:02:11 +00:00 committed by GitHub
parent 67da2c170a
commit a8cc06d142
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -307,7 +307,7 @@ In case cache gets download using restore keys, there's a chance that some depen
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
```
### Saving intermediate private build artifacts and restoring in another workflow
### Saving cache once and reusing in multiple workflows
In case of multi-module projects, where the built artifact of one project needs to be reused in subsequent child modules, the need of rebuilding the parent module again and again with every build can be eliminated. The `actions/cache` or `actions/cache/save` action can be used to build and save the parent module artifact once, and restored multiple times while building the child modules.