Commit Graph

221 Commits (cc2d767a726ddd654506e76169ec14b20dc75915)
 

Author SHA1 Message Date
Alex Tokarev cc2d767a72
Update Rust directories recommended for caching ()
This commit applies the suggestion from The Cargo Book:
https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
Daniel Kuschny 2fa955d825
Update examples.md ()
Extend gradle notes.
kalin 3a696372f2
elixir typo - stray parenthesis ()
Wojtek Mach 366e5ba022
Update cache key for Elixir ()
David Hadka 8d3f2fc3ce
Update dependencies ()
David Hadka 1a9e2138d9
Update cache module to v1.0.7 ()
Jonathan Clem 981fa981ed
Merge pull request from ericmj/patch-1
Also cache _build for Elixir
Pradyun Gedam 4498c5b4d8
Drop the example based on using pip's internals ()
pip's documentation explicitly states to not use `import pip`:

> While it is implemented in Python, and so is available from your Python code via
> `import pip`, you must not use pip’s internal APIs in this way.

This example is in direct contradiction with the documentation's guidance and, thus, has
been removed.
Robert Stoll 4134e6de47
It is not recommended to cache node_modules ()
According to the docs of this repo, so the example should not show it
Yaroslav Dynnikov 26968a09c0
Make save/restore logs akin ()
- Print primary key when saving cache
Konrad Pabjan aeaf731ae2
Use @actions/cache version 1.0.6 ()
* Use @actions/cache version 1.0.6

* Update cache.dep.yml

* Update all files in .licenses
Konrad Pabjan 56a8a2f775
Merge pull request from eregon/recommend-setup-ruby-bundler-cache
Recommend ruby/setup-ruby's bundler-cache: true option
Benoit Daloze 1bfe3accb3 Recommend ruby/setup-ruby's bundler-cache: true option
Manually caching gems has many issues:
* Not working if there is no Gemfile.lock but only a Gemfile
* Not having the OS version in the key, which might cause binary incompatibility with system libraries of different ABI version.
* Not taking the Ruby version in account.
* Not taking the Ruby ABI version of development builds into accounts, which cannot be done with a key, but needs the commit hash.
* Using restore-keys would grow the cache over time and have extra gems in the cache.
* Those reasons are summarized in https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby#caching-bundle-install-manually
Konrad Pabjan 354332455a
Merge pull request from DanielHabenicht/patch-1
Update examples.md for NPM
Konrad Pabjan 3303695afa
Merge pull request from odin-delrio/patch-1
Improved gradle cache key calculation example
Odín del Río e64ab303d1
Improved gradle cache key calculation example
Konrad Pabjan 26c48dce83
Merge pull request from actions/cache-matrix-example
Added a cache example when using matrix
Chris Patterson 72f66cfa6d
Added a cache example when using matrix
Konrad Pabjan 9f3a4d3e65
Merge pull request from guilleijo/pipenv-example
Add example for python pipenv
Aiqiao Yan 7b630ee04f
Merge pull request from actions/aiqiaoy/windows-cache-path
Use @actions/cache 1.0.5
Aiqiao Yan d2583f08bc Run licenses cache
Aiqiao Yan 752e778edb Use @actions/cache 1.0.5
Josh Gross a3047dcdce
Fix CODEOWNER team name ()
Konrad Pabjan 9c77c9dbfc
Merge pull request from brcrista/patch-1
Add CODEOWNERS file
Brian Cristante 29cdd22c60
Create CODEOWNERS
Eric Meadows-Jönsson 62a4d75442
Also cache _build for Elixir
David Hadka 0781355a23
Upgrade @actions/cache to 1.0.4 ()
David Hadka 22c64ac772
Update @actions/core to 1.2.6 ()
Guillermo Eijo cbbf882ea4 Add link to example to README
Guillermo Eijo 4557c6a937 Add example for python pipenv
David Hadka 8819edf476
Update to @actions/cache 1.0.3 ()
Update to version 1.0.3 of the `@actions/cache` module.  This pulls in the following changes:

* Add a small delay between retry attempts
* Do not retry on HTTP responses that are not retryable, such as 409 Conflicts
DanielHabenicht 19530ba135
Update examples.md
David Hadka d1255ad936
Merge pull request from actions/dhadka/upload-chunk-size
Adds input for upload chunk size
Dave Hadka 68cfb2ccb7 Add units to description
Dave Hadka cce3c03a74 Add new input to action.yml
Dave Hadka 4bceb75b5b Use parseInt instead of Number to handle empty strings
Dave Hadka a6f1f4b32e Adds input for upload chunk size
David Hadka d606e039ae
Merge pull request from actions/dhadka/ghes
Caching action should no-op on GHES
Dave Hadka d3e4f218f3 Use warning instead of info
Dave Hadka 55a5894438 Update dist
Dave Hadka 3f6dfcbcc4 Merge branch 'main' of http://github.com/actions/cache into dhadka/ghes
Dave Hadka 0f71d4ac9a Add tests for isGhes
Dave Hadka 2850cd8f45 Fix test
Dave Hadka 67f61c6e6b Add dist files
Dave Hadka 4d604c6cce No-op on GHES
Yang Cao d33b5077b5
Merge pull request from thboop/main
Add Licensed to attribute third party licenses
Thomas Boop 765fb6d234 Update contributing.md
Thomas Boop 11e417fa43 Add Licensed to attribute third party licenses
Shafiq Jetha 8b407f7777
Grammar fix ()
Aiqiao Yan 5ca27f25cb
Merge pull request from smorimoto/release-2.1.1
Prepare 2.1.1