mirror of
https://github.com/opentofu/setup-opentofu.git
synced 2025-12-05 23:34:45 +00:00
17 lines
269 B
JavaScript
17 lines
269 B
JavaScript
|
|
/**
|
||
|
|
* Copyright (c) HashiCorp, Inc.
|
||
|
|
* SPDX-License-Identifier: MPL-2.0
|
||
|
|
*/
|
||
|
|
|
||
|
|
const core = require('@actions/core');
|
||
|
|
|
||
|
|
const setup = require('./lib/setup-tofu');
|
||
|
|
|
||
|
|
(async () => {
|
||
|
|
try {
|
||
|
|
await setup();
|
||
|
|
} catch (error) {
|
||
|
|
core.setFailed(error.message);
|
||
|
|
}
|
||
|
|
})();
|