main: copy artifacts to workspace
This commit is contained in:
		
							parent
							
								
									1d3348542a
								
							
						
					
					
						commit
						d0e11fce34
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		
							
								
								
									
										8
									
								
								main.js
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								main.js
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -82,6 +82,14 @@ async function main() {
 | 
			
		|||
            "dpkg-buildpackage", "-tc"
 | 
			
		||||
        ])
 | 
			
		||||
        core.endGroup()
 | 
			
		||||
 | 
			
		||||
        core.startGroup("Copy artifacts")
 | 
			
		||||
        await exec.exec("docker", [
 | 
			
		||||
            "exec",
 | 
			
		||||
            container,
 | 
			
		||||
            "cp", `../${package}_${version}*.*`, "."
 | 
			
		||||
        ])
 | 
			
		||||
        core.endGroup()
 | 
			
		||||
    } catch (error) {
 | 
			
		||||
        core.setFailed(error.message)
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue