use new implementation from toolkit

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-04-17 02:59:25 +02:00
parent d350de3bba
commit d267e74486
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -33,7 +33,7 @@ actionsToolkit.run(
});
let toolPath;
if (Util.isValidUrl(inputs.version)) {
if (Util.isValidRef(inputs.version)) {
if (standalone) {
throw new Error(`Cannot build from source without the Docker CLI`);
}