External module "internal/artifact/github/GitHubReleaseArtifactStore"
		 
	 
	
		
			
			
				Functions
				
					
					downloadFileAs
					
						- downloadFileAs(creds: ProjectOperationCredentials, url: string, outputFilename: string): Promise<any>
 
					
					
						- 
							
							
							
Parameters
							
								- 
									
creds: ProjectOperationCredentials
									
								 
								- 
									
url: string
									
								 
								- 
									
outputFilename: string
								 
							
							Returns Promise<any>
						 
					
				
				
					
					githubApi
					
						- githubApi(token: string, apiUrl?: string): GitHubApi
 
					
					
						- 
							
							
Parameters
							
								- 
									
token: string
								 
								- 
									
Default value apiUrl: string = "https://api.github.com/"
								 
							
							Returns GitHubApi
						 
					
				
				
					
					uploadAsset
					
						- uploadAsset(token: string, owner: string, repo: string, tag: string, path: string, contentType?: string): Promise<Asset>
 
					
					
						- 
							
							
Parameters
							
								- 
									
token: string
								 
								- 
									
owner: string
								 
								- 
									
repo: string
								 
								- 
									
tag: string
								 
								- 
									
path: string
								 
								- 
									
Default value contentType: string = "application/zip"
								 
							
							Returns Promise<Asset>
						 
					
				
			
		 
		
	 
 
 
Download the file to local disk. This only works on public repos, see https://stackoverflow.com/questions/20396329/how-to-download-github-release-from-private-repo-using-command-line