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 2023-10-10 09:42:46 +02:00
parent 137fcca5fe
commit c68fac3149
No known key found for this signature in database
GPG key ID: 46C0A987D58548F6
6 changed files with 3715 additions and 272 deletions

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';