cache
cache copied to clipboard
Cache dependencies and build outputs in GitHub Actions
The caching step in my GHA workflow is defined as follows: ``` - name: Restore setup cache id: cache-setup uses: actions/cache@v4 with: key: SingleAction-ospsuite-${{ env.TOOLS_CSV_HASH }} path: | ${{ env.R_LIBS_USER...
We have several caches that are individually addressed and updated (ruby, rubygems, npm packages, precompiled assets, db schema) varying in size from 40kB to 200MB It would be nice to...
If we pipe the downloaded file directly into the decompression program the time spent downloading and decompressing can be partially overlapped. In our uses we sometimes have many small files...
i have a pretty simple setup: https://github.com/OlegYch/potplayer-gemini/blob/scala-native/.github/workflows/release.yml#L43 ``` - name: Cache project uses: actions/cache@v4 with: path: ./ key: ${{ runner.os }}-project-${{ github.run_number }} restore-keys: ${{ runner.os }}-project- ``` i have...
``` ... Cache Size: ~9302 MB (9753348013 B) /usr/bin/tar -xf /home/runner/work/_temp/df03d4e4-948e-4053-be7b-a08c6d648879/cache.tzst -P -C /home/runner/work/returnn/returnn --use-compress-program unzstd /usr/bin/tar: ../../../.local/lib/python3.8/site-packages/nvidia/cublas/lib/libcublasLt.so.12: Wrote only 1536 of 10240 bytes ... /usr/bin/tar: ../../../.local/lib/python3.8/site-packages/nvidia/cublas/include/__pycache__: Cannot mkdir: No...
## Description ## Motivation and Context ## How Has This Been Tested? ## Screenshots (if appropriate): ## Types of changes - [x] Bug fix (non-breaking change which fixes an issue)...
## Description Add a line pointing out that the restore and save operations' paths must match. ## Motivation and Context I fell down a rabbit hole expecting to be able...
I don't see any documentation that describes which partial cache match will be chosen when there are multiple options. Consider the following case: **Cache key pattern:** `{branch-name}-{content-hash}` **My cache key:**...
Neither the README nor the error messages explicitly mention directory paths needing to stay the same. It's followed in the [example](https://github.com/actions/cache?tab=readme-ov-file#using-a-combination-of-restore-and-save-actions) and referenced in the [cache version](https://github.com/actions/cache?tab=readme-ov-file#using-a-combination-of-restore-and-save-actions) section, but it's...
The Job where it didn't restore: (expected to restore the cache) https://github.com/chemicallang/chemical/actions/runs/17202376846/job/48795429885 As you can see in the above job, The Linux job succeeded (restoring the cache), However Windows job...