Reputation: 21
I'm attempting to share a cache between workflows running on macOS-14 and Ubuntu-22.04 using GitHub Actions. According to the GitHub Actions cache documentation, setting enableCrossOsArchive
to true
should allow the cache to be used across different operating systems. However, I'm finding that each OS creates its own separate cache.
My workflow snippet looks like this:
- name: Cache GRASS Sample Dataset
id: cached-data
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
with:
path: sample-data/nc_spm_full_v2alpha2.tar.gz
key: nc_spm_full_v2alpha2.tar.gz
enableCrossOsArchive: true
My questions are:
enableCrossOsArchive
?Any insights or guidance would be greatly appreciated!
Upvotes: 0
Views: 38