mirror of
https://github.com/docker/setup-buildx-action.git
synced 2026-03-05 18:37:15 +08:00
update buildxInstall.download call since v0.77.0
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -53,7 +53,10 @@ actionsToolkit.run(
|
|||||||
});
|
});
|
||||||
} else if (!(await toolkit.buildx.isAvailable()) || version) {
|
} else if (!(await toolkit.buildx.isAvailable()) || version) {
|
||||||
await core.group(`Download buildx from GitHub Releases`, async () => {
|
await core.group(`Download buildx from GitHub Releases`, async () => {
|
||||||
toolPath = await toolkit.buildxInstall.download(version || 'latest', !inputs.cacheBinary);
|
toolPath = await toolkit.buildxInstall.download({
|
||||||
|
version: version || 'latest',
|
||||||
|
ghaNoCache: !inputs.cacheBinary
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (toolPath) {
|
if (toolPath) {
|
||||||
|
|||||||
Reference in New Issue
Block a user