chore(ci): run teardown job only if setup is a success

This commit is contained in:
David Testé
2025-01-13 09:52:21 +01:00
committed by David Testé
parent e1e567a145
commit 0952dfa1ad
33 changed files with 33 additions and 33 deletions

View File

@@ -72,7 +72,7 @@ jobs:
teardown-instance:
name: Teardown instance (cpu-tests)
if: ${{ always() && needs.setup-instance.result != 'skipped' }}
if: ${{ always() && needs.setup-instance.result == 'success' }}
needs: [ setup-instance, cpu-tests ]
runs-on: ubuntu-latest
steps: