mirror of
				https://git.mirrors.martin98.com/https://github.com/actions/cache
				synced 2025-10-30 23:21:05 +08:00 
			
		
		
		
	
						commit
						c7c46bcb6d
					
				| @ -90,6 +90,7 @@ See [Examples](examples.md) for a list of `actions/cache` implementations for us | |||||||
| 
 | 
 | ||||||
| - [C# - Nuget](./examples.md#c---nuget) | - [C# - Nuget](./examples.md#c---nuget) | ||||||
| - [D - DUB](./examples.md#d---dub) | - [D - DUB](./examples.md#d---dub) | ||||||
|  | - [Deno](./examples.md#deno) | ||||||
| - [Elixir - Mix](./examples.md#elixir---mix) | - [Elixir - Mix](./examples.md#elixir---mix) | ||||||
| - [Go - Modules](./examples.md#go---modules) | - [Go - Modules](./examples.md#go---modules) | ||||||
| - [Haskell - Cabal](./examples.md#haskell---cabal) | - [Haskell - Cabal](./examples.md#haskell---cabal) | ||||||
|  | |||||||
							
								
								
									
										46
									
								
								examples.md
									
									
									
									
									
								
							
							
						
						
									
										46
									
								
								examples.md
									
									
									
									
									
								
							| @ -4,18 +4,22 @@ | |||||||
| - [D - DUB](#d---dub) | - [D - DUB](#d---dub) | ||||||
|   - [POSIX](#posix) |   - [POSIX](#posix) | ||||||
|   - [Windows](#windows) |   - [Windows](#windows) | ||||||
| - [Elixir - Mix](#elixir---mix) | - [Deno](#deno) | ||||||
| - [Go - Modules](#go---modules) |  | ||||||
|   - [Linux](#linux) |   - [Linux](#linux) | ||||||
|   - [macOS](#macos) |   - [macOS](#macos) | ||||||
|   - [Windows](#windows-1) |   - [Windows](#windows-1) | ||||||
|  | - [Elixir - Mix](#elixir---mix) | ||||||
|  | - [Go - Modules](#go---modules) | ||||||
|  |   - [Linux](#linux-1) | ||||||
|  |   - [macOS](#macos-1) | ||||||
|  |   - [Windows](#windows-2) | ||||||
| - [Haskell - Cabal](#haskell---cabal) | - [Haskell - Cabal](#haskell---cabal) | ||||||
| - [Haskell - Stack](#haskell---stack) | - [Haskell - Stack](#haskell---stack) | ||||||
| - [Java - Gradle](#java---gradle) | - [Java - Gradle](#java---gradle) | ||||||
| - [Java - Maven](#java---maven) | - [Java - Maven](#java---maven) | ||||||
| - [Node - npm](#node---npm) | - [Node - npm](#node---npm) | ||||||
|   - [macOS and Ubuntu](#macos-and-ubuntu) |   - [macOS and Ubuntu](#macos-and-ubuntu) | ||||||
|   - [Windows](#windows-2) |   - [Windows](#windows-3) | ||||||
|   - [Using multiple systems and `npm config`](#using-multiple-systems-and-npm-config) |   - [Using multiple systems and `npm config`](#using-multiple-systems-and-npm-config) | ||||||
| - [Node - Lerna](#node---lerna) | - [Node - Lerna](#node---lerna) | ||||||
| - [Node - Yarn](#node---yarn) | - [Node - Yarn](#node---yarn) | ||||||
| @ -103,6 +107,42 @@ steps: | |||||||
|       ${{ runner.os }}-dub- |       ${{ runner.os }}-dub- | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | ## Deno | ||||||
|  | 
 | ||||||
|  | ### Linux | ||||||
|  | 
 | ||||||
|  | ```yaml | ||||||
|  | - uses: actions/cache@v2 | ||||||
|  |   with: | ||||||
|  |     path: | | ||||||
|  |       ~/.deno | ||||||
|  |       ~/.cache/deno | ||||||
|  |     key: ${{ runner.os }}-deno-${{ hashFiles('**/deps.ts') }} | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | ### macOS | ||||||
|  | 
 | ||||||
|  | ```yaml | ||||||
|  | - uses: actions/cache@v2 | ||||||
|  |   with: | ||||||
|  |     path: | | ||||||
|  |       ~/.deno | ||||||
|  |       ~/Library/Caches/deno | ||||||
|  |     key: ${{ runner.os }}-deno-${{ hashFiles('**/deps.ts') }} | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | ### Windows | ||||||
|  | 
 | ||||||
|  | ```yaml | ||||||
|  | - uses: actions/cache@v2 | ||||||
|  |   with: | ||||||
|  |     path: | | ||||||
|  |       ~\.deno | ||||||
|  |       %LocalAppData%\deno | ||||||
|  |     key: ${{ runner.os }}-deno-${{ hashFiles('**/deps.ts') }} | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| ## Elixir - Mix | ## Elixir - Mix | ||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Vipul
						Vipul