cache icon indicating copy to clipboard operation
cache copied to clipboard

Add advanced use cases to examples section

Open dsame opened this issue 2 years ago • 0 comments

Description

The PR add the following use case to example sections:

##  Common use cases

### Restore-only caches
### Automatically detect cached paths

Motivation and Context

During the maintaining actions/setup-go we received feedback from users about real world use cases and requests to extend the functionality of the built-in caching.

It is not desirable to bloat the setup action with the caching features, the users should be redirected to actions/cache instead with a good explanation of how to achieve the requested functionality.

Related isues: https://github.com/actions/setup-go/issues/316 https://github.com/actions/setup-go/issues/395

Checklist:

  • [ ] My code follows the code style of this project.
  • [x] My change requires a change to the documentation.
  • [x] I have updated the documentation accordingly.
  • [x] I have read the CONTRIBUTING document.
  • [ ] I have added tests to cover my changes.
  • [ ] All new and existing tests passed.

dsame avatar Aug 23 '23 05:08 dsame