cache icon indicating copy to clipboard operation
cache copied to clipboard

Cache dependencies and build outputs in GitHub Actions

Results 377 cache issues
Sort by recently updated
recently updated
newest added

We are currently affected by cache read timeouts. The pattern is similar to https://github.com/actions/cache/issues/1141: cache download starts normally and then download stops completely. There is a [SEGMENT_DOWNLOAD_TIMEOUT_MINS ](https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout) environment variable...

I found only the number 32MB (I assume the value is given in bytes) in the `dist/restore/index.js` after a build. ```js function getUploadOptions(copy) { const result = { uploadConcurrency: 4,...

Rationale: if `cache-hit` was a boolean, then `!` could be used to get the opposite. However, it is really a string, and this should be pointed out clearly in the...

This is what i run on the `ubuntu-latest` runner: ``` - name: Cache Yarn dependencies uses: actions/cache@v3 with: enableCrossOsArchive: true path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: web-build-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: |...

https://github.com/actions/cache/blob/04f198bf0b2a39f7230a4304bf07747a0bddf146/README.md#L52 This turns out to be slightly but importantly wrong: the format is actually a _multi-line string_ with one key per line; attempting to supply an actual list of keys...

## Description This PR just adds a Docker example. ## Motivation and Context Missing Docker image cache example. ## How Has This Been Tested? In several of my projects like...

Recently I updated my workflow to make use of `hashFiles('my-directory/**')` because I only care about the content of a specific directory to build my Dockerfile. So if the content changes...

For `node`, it's recommend to not cache `node_modules`, but the [current example for Cocoapods](https://github.com/actions/cache/blob/main/examples.md#swift-objective-c---cocoapods) is doing something similar, so it should be changed to cache the system cache rather than...

I stumled upon this bug while using self-hosted runners. ### Background Cache version is derived with the compression tool in mind. So an identical file can be compressed with `zstd`...

We are using actions/cache in between jobs that run on a variety of runners (GitHub-hosted and self-hosted) and we noticed the following: When creating a cache on `ubuntu-latest` of a...

area:advanced-control