mirror of
https://github.com/opentofu/setup-opentofu.git
synced 2026-11-26 18:30:54 +01:00
Signed-off-by: Dawid Jóźwiak <5508474+Operativ@users.noreply.github.com> Signed-off-by: James Humphries <james@james-humphries.co.uk> Signed-off-by: Diogenes Fernandes <diofeher@gmail.com> Co-authored-by: Dawid Jóźwiak <5508474+Operativ@users.noreply.github.com> Co-authored-by: Diogenes Fernandes <diofeher@gmail.com>
18 lines
292 B
JavaScript
18 lines
292 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* Copyright (c) OpenTofu
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import { setFailed } from '@actions/core';
|
|
|
|
import setup from './lib/setup-tofu.js';
|
|
|
|
(async () => {
|
|
try {
|
|
await setup();
|
|
} catch (error) {
|
|
setFailed(error.message);
|
|
}
|
|
})();
|