mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 11:48:38 +08:00 
			
		
		
		
	Ignore cache from other repository
This commit is contained in:
		
							parent
							
								
									d66ed32337
								
							
						
					
					
						commit
						6b28eff8f0
					
				|  | @ -8,14 +8,14 @@ This Action provides Amazon Web Services S3 backend (and compatible software) fo | |||
| 
 | ||||
| ```yaml | ||||
| - name: Cache multiple paths | ||||
|   uses: whywaita/actions-cache-s3@main | ||||
|   uses: whywaita/actions-cache-s3@v2 | ||||
|   with: | ||||
|     path: | | ||||
|       ~/cache | ||||
|       !~/cache/exclude | ||||
|     key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} | ||||
|     key: ${{ github.repository }}-${{ runner.os }}-${{ hashFiles('**/lockfiles') }} | ||||
|     restore-keys: | | ||||
|       ${{ runner.os }}-go- | ||||
|       ${{ github.repository }}-${{ runner.os }}-go- | ||||
|     aws-s3-bucket: ${{ secrets.AWS_S3_BUCKET_NAME }} | ||||
|     aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||||
|     aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 whywaita
						whywaita