Use these files to demonstrate caching between workflow runs.
- Create a new repo.
- Add the files from this directory to the root of the new repo.
- Move the follwing files into the
.github/workflows
directory in the new repo:build-hugo-no-cache.yml build-hugo-with-cache.yml
- On the Actions tab, use the dispatch trigger to run each workflow.
- Wait until the workflows complete. Make a note of the time it took the worflows to run.
- Re-run each workflow using the dispatch trigger.
- Compare the new runtime of each workflow. The runtime for the cached workflow should be reduced in comparision to its previous run.