diff --git a/.github/workflows/linux_benchmark_testing.yml b/.github/workflows/linux_benchmark_testing.yml index 3c4cf3f..229becd 100644 --- a/.github/workflows/linux_benchmark_testing.yml +++ b/.github/workflows/linux_benchmark_testing.yml @@ -83,16 +83,16 @@ jobs: # Centos 7 images take a while to come up insert sleep or playbook fails - - name: Check if test os is rhel7 + - name: Check if test os is rhel7 or rhel9 working-directory: .github/workflows id: test_os run: >- - echo "::set-output name=RHEL7::$( - grep -c RHEL7 OS.tfvars + echo "::set-output name=Pause::$( + grep -c "RHEL\(7\|9\)" OS.tfvars )" - - name: if RHEL7 - Sleep for 60 seconds - if: steps.test_os.outputs.RHEL7 >= 1 + - name: if RHEL(7|9) - Sleep for 60 seconds + if: steps.test_os.outputs.Pause >= 1 run: sleep 60s shell: bash