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