mirror of
				https://github.com/actions/cache.git
				synced 2025-10-26 13:15:10 +07:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			resolve-de
			...
			joshmgross
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 7527073910 | 
							
								
								
									
										5266
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5266
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										5240
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5240
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -16,7 +16,9 @@ async function getTarPath(): Promise<string> { | |||||||
|  |  | ||||||
| async function execTar(args: string[]): Promise<void> { | async function execTar(args: string[]): Promise<void> { | ||||||
|     try { |     try { | ||||||
|         await exec(`"${await getTarPath()}"`, args); |         const tarPath = await getTarPath(); | ||||||
|  |         const tarExec = process.platform !== "win32" ? `sudo ${tarPath}` : tarPath; | ||||||
|  |         await exec(`"${tarExec}"`, args); | ||||||
|     } catch (error) { |     } catch (error) { | ||||||
|         const IS_WINDOWS = process.platform === "win32"; |         const IS_WINDOWS = process.platform === "win32"; | ||||||
|         if (IS_WINDOWS) { |         if (IS_WINDOWS) { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	