mirror of
				https://code.forgejo.org/actions/cache.git
				synced 2025-11-04 06:19:11 +00:00 
			
		
		
		
	Merge 56dcbc499d into 640a1c2554
				
					
				
			This commit is contained in:
		
						commit
						92fb213f8f
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -185,6 +185,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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										10
									
								
								examples.md
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								examples.md
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			@ -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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue