Commit Graph

73 Commits (8f1e2e02865c42348f9baddbbaafb1841dce610a)

Author SHA1 Message Date
Kipras Melnikovas e8230b28a9
Use different IDs for 1) getting the directory of yarn cache 2) the cache itself (#178)
* Use different IDs for 1) getting the directory of yarn cache 2) the cache itself

Using the current example + https://github.com/actions/cache#skipping-steps-based-on-cache-hit,

I came to a wrong conclusion that I could skip a step
if the `cache-hit` was `true` -
the ID I used was from the wrong step -
the `get yarn cache directory` step,
instead of the `get yarn cache itself` step.

I've updated the example in hopes that it'll be clearer for others aswell!

Signed-off-by: Kipras Melnikovas <kipras@kipras.org>

* Explain which ID to use for `cache-hit` in yarn's example

Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
5 years ago
Florian Kostenzer e43776276f
Add Swift Package Manager (SPM) example (#159)
* Add Swift - SPM to examples

* Add link SPM example link to readme

* remove extra newline

* remove another extra newline
5 years ago
Shinya Uryu b6d538e2aa Add renv examples (#151)
* Add renv examples

* Add link in main readme.md
5 years ago
Mike Coutermarsh 6c11532937 Update Ruby docs. "Gem" -> "Bundler" (#150)
* Use "Bundler" which is the package manager

"Gem" isn't wrong, but not typically what a Ruby developer would think of.

* Update links

* Update links
5 years ago
Daniel Shuy c33bff8d72 Add Scala - SBT example (#134)
* Add Scala - SBT example

* Add Scala - SBT example to README
5 years ago
Flavio Corpa d1991bb4c5 Add Haskell - Cabal example (#148)
* Add Haskell - Cabal example

* Add link in main readme.md
5 years ago
Nogic decbafc350
Update examples.md
Co-Authored-By: Chris Patterson <chrispat@github.com>
5 years ago
Nogic 0188dffc5a
Revert original C# Example
* Treat "Use Personal Cache Folder" way as another C# example
* Describe the situation in which another example should be used
5 years ago
Nogic 002d3a77f4
Use Personal Cache Folder in C# Example
Ref: #115
5 years ago
Evan Cloutier 3d01b4eb53 Update Ruby example in documentation to specify bundler path (#113)
* Update Ruby example to specify bundler path

* Fix spacing
5 years ago
Josh Gross 7e7aef2963
Add pip examples (#86) 5 years ago
Josh Gross 50a2fdee6f
Update yarn cache example (#70)
* Update yarn cache example

* Update examples.md

Co-Authored-By: Eric Taylor <erictaylor89@gmail.com>
5 years ago
Josh Gross bc821d0c12
Remove recommendation to cache node_modules (#69)
* Update npm caching examples

* Fix output name

* Remove extra details tag
5 years ago
Kai Neuwerth ecf6eea708 Add PHP Composer example (#32) 5 years ago
Hugo van Kemenade 5f4d4d4555 Alphabetise examples (#52) 5 years ago
Koen Punt 5d3ad75a2b Update example formatting (#57)
* adjust formatting of Carthage example

* enable syntax highlighting for Cargo example
5 years ago
Josh Gross f66a56e59e
Bump version to v1 (#51) 5 years ago
Linda_pp 57f889e86e Add cargo example for Rust project (#8)
* Add cargo example

* Add hash of Cargo.lock to keys of caches

* Move Rust example to examples.md
5 years ago
Ishizaka Tomoya 8c4c641fa0 Add Elixir Mix example (#42)
* Add Elixir Mix example

* Fix typo
5 years ago
CrazyMax 87c0185d27 Add Go modules example (#18)
* Add Go modules example

* Fix TOC
5 years ago
Zach Renner 287ee0671b Add trailing dash to Maven fallback key (#19) 5 years ago
Zach Renner c401b561b2 Link to NuGet lock files documentation (#20) 5 years ago
Josh Gross 3743276c66
Move examples to their own page (#13) 5 years ago