mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 07:16:24 +07:00 
			
		
		
		
	Compare commits
	
		
			6 Commits
		
	
	
		
			v3.0.4
			...
			vsvipul/fi
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 5cc84c0123 | |||
| afc669e7fc | |||
| a0efc56c52 | |||
| d25c51bbfd | |||
| a080a3bda4 | |||
| 02be3a9c73 | 
							
								
								
									
										2
									
								
								.github/auto_assign.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/auto_assign.yml
									
									
									
									
										vendored
									
									
								
							| @ -6,7 +6,7 @@ addAssignees: false | |||||||
|  |  | ||||||
| # A list of reviewers to be added to pull requests (GitHub user name) | # A list of reviewers to be added to pull requests (GitHub user name) | ||||||
| reviewers: | reviewers: | ||||||
|   - phantsure |   - kotewar | ||||||
|   - aparna-ravindra |   - aparna-ravindra | ||||||
|   - tiwarishub |   - tiwarishub | ||||||
|   - vsvipul |   - vsvipul | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								.github/workflows/auto-assign-issues.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/auto-assign-issues.yml
									
									
									
									
										vendored
									
									
								
							| @ -11,5 +11,5 @@ jobs: | |||||||
|             - name: 'Auto-assign issue' |             - name: 'Auto-assign issue' | ||||||
|               uses: pozil/auto-assign-issue@v1.4.0 |               uses: pozil/auto-assign-issue@v1.4.0 | ||||||
|               with: |               with: | ||||||
|                   assignees: phantsure,tiwarishub,aparna-ravindra,vsvipul,bishal-pdmsft |                   assignees: kotewar,tiwarishub,aparna-ravindra,vsvipul,bishal-pdmsft | ||||||
|                   numOfAssignee: 1 |                   numOfAssignee: 1 | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								.github/workflows/auto-assign.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/auto-assign.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,6 +1,6 @@ | |||||||
| name: 'Auto Assign' | name: 'Auto Assign' | ||||||
| on: | on: | ||||||
|   pull_request: |   pull_request_target: | ||||||
|     types: [opened, ready_for_review] |     types: [opened, ready_for_review] | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|  | |||||||
							
								
								
									
										23
									
								
								examples.md
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								examples.md
									
									
									
									
									
								
							| @ -223,6 +223,8 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba | |||||||
|  |  | ||||||
| ## Haskell - Stack | ## Haskell - Stack | ||||||
|  |  | ||||||
|  | ### Linux or macOS | ||||||
|  |  | ||||||
| ```yaml | ```yaml | ||||||
| - uses: actions/cache@v3 | - uses: actions/cache@v3 | ||||||
|   name: Cache ~/.stack |   name: Cache ~/.stack | ||||||
| @ -240,6 +242,27 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba | |||||||
|       ${{ runner.os }}-stack-work- |       ${{ runner.os }}-stack-work- | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  | ### Windows | ||||||
|  |  | ||||||
|  | ```yaml | ||||||
|  | - uses: actions/cache@v3 | ||||||
|  |   name: Cache %APPDATA%\stack %LOCALAPPDATA%\Programs\stack | ||||||
|  |   with: | ||||||
|  |     path: | | ||||||
|  |       ~\AppData\Roaming\stack | ||||||
|  |       ~\AppData\Local\Programs\stack     | ||||||
|  |     key: ${{ runner.os }}-stack-global-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }} | ||||||
|  |     restore-keys: | | ||||||
|  |       ${{ runner.os }}-stack-global- | ||||||
|  | - uses: actions/cache@v3 | ||||||
|  |   name: Cache .stack-work | ||||||
|  |   with: | ||||||
|  |     path: .stack-work | ||||||
|  |     key: ${{ runner.os }}-stack-work-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}-${{ hashFiles('**/*.hs') }} | ||||||
|  |     restore-keys: | | ||||||
|  |       ${{ runner.os }}-stack-work- | ||||||
|  | ``` | ||||||
|  |  | ||||||
| ## Java - Gradle | ## 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. | >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. | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	