Set headers for download
This commit is contained in:
		
							parent
							
								
									319155ea78
								
							
						
					
					
						commit
						48ee6952fb
					
				
							
								
								
									
										3
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@ -43,6 +43,9 @@ jobs:
 | 
				
			|||||||
          })
 | 
					          })
 | 
				
			||||||
          const actual = await github.repos.getReleaseAsset({
 | 
					          const actual = await github.repos.getReleaseAsset({
 | 
				
			||||||
            ...context.repo,
 | 
					            ...context.repo,
 | 
				
			||||||
 | 
					            headers: {
 | 
				
			||||||
 | 
					              Accept: application/octet-stream
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
            asset_id: release.data.assets[0].id,
 | 
					            asset_id: release.data.assets[0].id,
 | 
				
			||||||
          })
 | 
					          })
 | 
				
			||||||
          const assert = require('assert').strict;
 | 
					          const assert = require('assert').strict;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user