diff --git a/.github/actions/tf-apply/action.yaml b/.github/actions/tf-apply/action.yaml index 0aba8149fc..a4d37b46b5 100644 --- a/.github/actions/tf-apply/action.yaml +++ b/.github/actions/tf-apply/action.yaml @@ -39,8 +39,7 @@ runs: - name: Get last directory name id: get-tf-dir run: | - tf_dir=$(echo ${{ inputs.terraform_directory }} | rev | cut -d'/' -f1 | rev) - echo "Last directory name is: $tf_dir" + tf_dir=$(echo ${{ inputs.terraform_directory }} | rev | cut -d'/' -f1 | rev) >> $GITHUB_OUTPUT shell: bash - name: Set Terraform Variables diff --git a/.github/actions/tf-plan/action.yaml b/.github/actions/tf-plan/action.yaml index 4fc380576d..b82c2c1924 100644 --- a/.github/actions/tf-plan/action.yaml +++ b/.github/actions/tf-plan/action.yaml @@ -36,8 +36,7 @@ runs: - name: Get last directory name id: get-tf-dir run: | - tf_dir=$(echo ${{ inputs.terraform_directory }} | rev | cut -d'/' -f1 | rev) - echo "Last directory name is: $tf_dir" + tf_dir=$(echo ${{ inputs.terraform_directory }} | rev | cut -d'/' -f1 | rev) >> $GITHUB_OUTPUT shell: bash - name: Set Terraform Variables