mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 11:48:38 +08:00 
			
		
		
		
	
						commit
						9fc411013e
					
				|  | @ -17,7 +17,7 @@ export async function restoreImpl( | ||||||
|     earlyExit?: boolean | undefined |     earlyExit?: boolean | undefined | ||||||
| ): Promise<string | undefined> { | ): Promise<string | undefined> { | ||||||
|     try { |     try { | ||||||
|         if (!utils.isCacheFeatureAvailable()) { |         if (!canSaveToS3 && !utils.isCacheFeatureAvailable()) { | ||||||
|             core.setOutput(Outputs.CacheHit, "false"); |             core.setOutput(Outputs.CacheHit, "false"); | ||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  | @ -22,7 +22,7 @@ export async function saveImpl( | ||||||
| ): Promise<number | void> { | ): Promise<number | void> { | ||||||
|     let cacheId = -1; |     let cacheId = -1; | ||||||
|     try { |     try { | ||||||
|         if (!utils.isCacheFeatureAvailable()) { |         if (!canSaveToS3 && !utils.isCacheFeatureAvailable()) { | ||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Cyril Rohr
						Cyril Rohr