actions / cache

Cache dependencies and build outputs in GitHub Actions
MIT License
4.45k stars 1.18k forks source link

doc: add runner.arch to cache key in examples #1146

Closed kolyshkin closed 6 months ago

kolyshkin commented 1 year ago

Since https://github.com/actions/runner/issues/1185 runner.arch is available, and it makes sense to add it to the cache key next to runner.os for all examples that may cache binary artefacts (as, obviously, using ARM64 binaries won't do any good on X64).

kolyshkin commented 1 year ago

It also makes sense to add process.env.ImageOS, at least for linux, to examples, as it is done in https://github.com/actions/setup-go/pull/383/files

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.

github-actions[bot] commented 6 months ago

This issue was closed because it has been inactive for 5 days since being marked as stale.