feat: added versions resolution logic to use user's input.

Signed-off-by: Dmitry Kisler <admin@dkisler.com>
This commit is contained in:
Dmitry Kisler committed 2023-10-10 09:42:46 +02:00
1 parent 137fcca5fe
commit c68fac3149
6 files changed
+3715 -272

No files matched your search

+1 -3
View File
@@ -124,9 +124,7 @@ credentials "${credentialsHostname}" {
async function run () {
try {
// Gather GitHub Actions inputs
const version = '1.6.0-alpha2';
// TODO: allow dynamic version selection once logic is ready
// const version = core.getInput('tofu_version');
const version = core.getInput('tofu_version');
const credentialsHostname = core.getInput('cli_config_credentials_hostname');
const credentialsToken = core.getInput('cli_config_credentials_token');
const wrapper = core.getInput('tofu_wrapper') === 'true';