mirror of
				https://github.com/trympet/nextcloud-artifacts-action.git
				synced 2025-10-30 01:36:41 +01:00 
			
		
		
		
	fix directory exists
This commit is contained in:
		
							
								
								
									
										846
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										846
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -105,7 +105,7 @@ export class NextcloudClient { | ||||
|     private async zipFiles(specs: FileSpec[]): Promise<string> { | ||||
|         const tempArtifactDir = path.join(os.tmpdir(), this.guid); | ||||
|         const artifactPath = path.join(tempArtifactDir, `artifact-${this.artifact}`); | ||||
|         await fs.mkdir(artifactPath, { recursive: true }); | ||||
|         await fs.mkdir(path.join(artifactPath, this.artifact), { recursive: true }); | ||||
|         for (let spec of specs) { | ||||
|             await fs.copyFile(spec.absolutePath, path.join(artifactPath, spec.uploadPath)); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Trym Lund Flogard
					Trym Lund Flogard