diff --git a/.github/workflows/benchmark_gpu_core_crypto.yml b/.github/workflows/benchmark_gpu_core_crypto.yml index 790362fbc6..84e51ec7e3 100644 --- a/.github/workflows/benchmark_gpu_core_crypto.yml +++ b/.github/workflows/benchmark_gpu_core_crypto.yml @@ -45,7 +45,7 @@ jobs: # This will allow to fallback on permanent instances running on Hyperstack. - name: Use permanent remote instance id: use-permanent-instance - if: ${{ env.SECRETS_AVAILABLE == 'true' && failure() }} + if: env.SECRETS_AVAILABLE == 'true' && steps.start-remote-instance.outcome == 'failure' run: | echo "runner_group=h100x1" >> "$GITHUB_OUTPUT" diff --git a/.github/workflows/benchmark_gpu_erc20_common.yml b/.github/workflows/benchmark_gpu_erc20_common.yml index dc91494bb2..0d1bb58f67 100644 --- a/.github/workflows/benchmark_gpu_erc20_common.yml +++ b/.github/workflows/benchmark_gpu_erc20_common.yml @@ -72,7 +72,9 @@ jobs: # This will allow to fallback on permanent instances running on Hyperstack. - name: Use permanent remote instance id: use-permanent-instance - if: ${{ env.SECRETS_AVAILABLE == 'true' && failure() && inputs.profile == 'single-h100' }} + if: env.SECRETS_AVAILABLE == 'true' && + steps.start-remote-instance.outcome == 'failure' && + inputs.profile == 'single-h100' run: | echo "runner_group=h100x1" >> "$GITHUB_OUTPUT" diff --git a/.github/workflows/benchmark_gpu_integer_common.yml b/.github/workflows/benchmark_gpu_integer_common.yml index 42c8c8034c..57fea7873c 100644 --- a/.github/workflows/benchmark_gpu_integer_common.yml +++ b/.github/workflows/benchmark_gpu_integer_common.yml @@ -136,7 +136,9 @@ jobs: # This will allow to fallback on permanent instances running on Hyperstack. - name: Use permanent remote instance id: use-permanent-instance - if: ${{ env.SECRETS_AVAILABLE == 'true' && failure() && inputs.profile == 'single-h100' }} + if: env.SECRETS_AVAILABLE == 'true' && + steps.start-remote-instance.outcome == 'failure' && + inputs.profile == 'single-h100' run: | echo "runner_group=h100x1" >> "$GITHUB_OUTPUT" diff --git a/.github/workflows/gpu_fast_h100_tests.yml b/.github/workflows/gpu_fast_h100_tests.yml index ee4cd20127..044ddbedb2 100644 --- a/.github/workflows/gpu_fast_h100_tests.yml +++ b/.github/workflows/gpu_fast_h100_tests.yml @@ -91,7 +91,7 @@ jobs: # This will allow to fallback on permanent instances running on Hyperstack. - name: Use permanent remote instance id: use-permanent-instance - if: ${{ env.SECRETS_AVAILABLE == 'true' && steps.start-remote-instance.outcome == 'failure' }} + if: env.SECRETS_AVAILABLE == 'true' && steps.start-remote-instance.outcome == 'failure' run: | echo "runner_group=h100x1" >> "$GITHUB_OUTPUT" diff --git a/.github/workflows/gpu_full_h100_tests.yml b/.github/workflows/gpu_full_h100_tests.yml index 3da2ec35da..43983917f3 100644 --- a/.github/workflows/gpu_full_h100_tests.yml +++ b/.github/workflows/gpu_full_h100_tests.yml @@ -42,7 +42,7 @@ jobs: # This will allow to fallback on permanent instances running on Hyperstack. - name: Use permanent remote instance id: use-permanent-instance - if: ${{ env.SECRETS_AVAILABLE == 'true' && failure() }} + if: env.SECRETS_AVAILABLE == 'true' && steps.start-remote-instance.outcome == 'failure' run: | echo "runner_group=h100x1" >> "$GITHUB_OUTPUT" diff --git a/.github/workflows/gpu_signed_integer_h100_tests.yml b/.github/workflows/gpu_signed_integer_h100_tests.yml index b61c2e5a94..a2e86a8f38 100644 --- a/.github/workflows/gpu_signed_integer_h100_tests.yml +++ b/.github/workflows/gpu_signed_integer_h100_tests.yml @@ -92,7 +92,7 @@ jobs: # This will allow to fallback on permanent instances running on Hyperstack. - name: Use permanent remote instance id: use-permanent-instance - if: ${{ env.SECRETS_AVAILABLE == 'true' && failure() }} + if: env.SECRETS_AVAILABLE == 'true' && steps.start-remote-instance.outcome == 'failure' run: | echo "runner_group=h100x1" >> "$GITHUB_OUTPUT" diff --git a/.github/workflows/gpu_unsigned_integer_h100_tests.yml b/.github/workflows/gpu_unsigned_integer_h100_tests.yml index a95cff3b24..f933fbc9e2 100644 --- a/.github/workflows/gpu_unsigned_integer_h100_tests.yml +++ b/.github/workflows/gpu_unsigned_integer_h100_tests.yml @@ -91,7 +91,7 @@ jobs: # This will allow to fallback on permanent instances running on Hyperstack. - name: Use permanent remote instance id: use-permanent-instance - if: ${{ env.SECRETS_AVAILABLE == 'true' && failure() }} + if: env.SECRETS_AVAILABLE == 'true' && steps.start-remote-instance.outcome == 'failure' run: | echo "runner_group=h100x1" >> "$GITHUB_OUTPUT"