Try github.request again
This commit is contained in:
		
							parent
							
								
									ffdc680f33
								
							
						
					
					
						commit
						802e00067c
					
				
							
								
								
									
										8
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@ -41,13 +41,7 @@ jobs:
 | 
				
			|||||||
            ...context.repo,
 | 
					            ...context.repo,
 | 
				
			||||||
            tag: "ci-test-${{ matrix.os }}",
 | 
					            tag: "ci-test-${{ matrix.os }}",
 | 
				
			||||||
          })
 | 
					          })
 | 
				
			||||||
          const actual = await github.repos.getReleaseAsset({
 | 
					          const actual = await github.request(release.data.assets[0].browser_download_url)
 | 
				
			||||||
            ...context.repo,
 | 
					 | 
				
			||||||
            headers: {
 | 
					 | 
				
			||||||
              Accept: "application/octet-stream"
 | 
					 | 
				
			||||||
            },
 | 
					 | 
				
			||||||
            asset_id: release.data.assets[0].id,
 | 
					 | 
				
			||||||
          })
 | 
					 | 
				
			||||||
          const assert = require('assert').strict;
 | 
					          const assert = require('assert').strict;
 | 
				
			||||||
          assert.equal(expected, actual)
 | 
					          assert.equal(expected, actual)
 | 
				
			||||||
    - name: Clean up
 | 
					    - name: Clean up
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user