Compare commits

...

6 Commits

Author SHA1 Message Date
rodrigoalcarazdelaosa
8fca667d38
Merge 56dcbc499d into 5656298164 2026-02-26 11:33:01 +00:00
Ryan Ghadimi
5656298164
Merge pull request #1722 from RyPeck/patch-1
Fix cache key in examples.md for bun.lock
2026-02-24 14:21:04 +00:00
Ryan Peck
4e380d19e1
Fix cache key in examples.md for bun.lock
Updated cache key to use 'bun.lock' instead of 'bun.lockb' for consistency.
2026-02-24 09:11:36 -05:00
rodrigoalcarazdelaosa
56dcbc499d
Merge branch 'main' into main 2025-04-15 18:04:21 +02:00
rodrigoalcarazdelaosa
6094803a45
Merge branch 'main' into main 2023-10-16 16:48:38 +02:00
Rodrigo Alcaraz de la Osa
ad901c8ed3 Add Hugo resources example 2023-04-23 11:41:05 +02:00
2 changed files with 13 additions and 2 deletions

View File

@ -199,6 +199,7 @@ See [Examples](examples.md) for a list of `actions/cache` implementations for us
* [Go - Modules](./examples.md#go---modules)
* [Haskell - Cabal](./examples.md#haskell---cabal)
* [Haskell - Stack](./examples.md#haskell---stack)
* [Hugo - Resources](./examples.md#hugo---resources)
* [Java - Gradle](./examples.md#java---gradle)
* [Java - Maven](./examples.md#java---maven)
* [Node - npm](./examples.md#node---npm)

View File

@ -18,6 +18,7 @@
- [Windows](#windows-2)
- [Haskell - Cabal](#haskell---cabal)
- [Haskell - Stack](#haskell---stack)
- [Hugo - Resources](#hugo---resources)
- [Java - Gradle](#java---gradle)
- [Java - Maven](#java---maven)
- [Node - npm](#node---npm)
@ -49,7 +50,7 @@
with:
path: |
~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
```
### Windows
@ -59,7 +60,7 @@
with:
path: |
~\.bun
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
```
## C# - NuGet
@ -300,6 +301,15 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba
${{ runner.os }}-stack-work-
```
## Hugo - Resources
```yaml
- uses: actions/cache@v3
with:
path: resources
key: ${{ runner.os }}-hugo-resources
```
## Java - Gradle
> **Note** Ensure no Gradle daemons are running anymore when your workflow completes. Creating the cache package might fail due to locks being held by Gradle. Refer to the [Gradle Daemon documentation](https://docs.gradle.org/current/userguide/gradle_daemon.html) on how to disable or stop the Gradle Daemons.