fix: Correct setup steps for Tofu environment and streamline system ID validation
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
|||||||
- name: Setup Terraform environment
|
- name: Setup Terraform environment
|
||||||
uses: ./.github/actions/setup-terraform-env
|
uses: ./.github/actions/setup-terraform-env
|
||||||
|
|
||||||
- name: Setup Terraform environment
|
- name: Setup Tofu environment
|
||||||
uses: ./.github/actions/setup-opentofu-env
|
uses: ./.github/actions/setup-opentofu-env
|
||||||
|
|
||||||
- name: Setup Kubernetes Environment
|
- name: Setup Kubernetes Environment
|
||||||
@@ -69,7 +69,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Check remote host info is valid
|
- name: Check remote host info is valid
|
||||||
run: |
|
run: |
|
||||||
if [ -z "${{ steps.get-host-info.outputs.system-id }}" ]; then
|
echo "System ID: ::add-mask::${{ steps.get-host-info.outputs.system-id }}"
|
||||||
echo "No system ID found"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
Reference in New Issue
Block a user