use Octokit client to download buildx

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-01-28 01:43:10 +01:00
commit 7c965aebec
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
12 changed files with 200 additions and 18 deletions

View file

@ -221,7 +221,7 @@ describe('install', () => {
])(
'acquires %p of buildx (standalone: %p)',
async (version, standalone) => {
const buildxBin = await buildx.install(version, tmpDir, standalone);
const buildxBin = await buildx.install(version, process.env.GITHUB_TOKEN || '', tmpDir, standalone);
expect(fs.existsSync(buildxBin)).toBe(true);
},
100000