run cache deletion job only, if needed jobs were successful

This commit is contained in:
mahula 2023-07-18 18:33:25 +02:00
parent 6ccd4dde54
commit bf7d4e13c8
3 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ jobs:
cleanup:
name: Cleanup
if: always()
if: success()
needs: [files-changed, unit_test_backend]
runs-on: ubuntu-latest
continue-on-error: true

View File

@ -98,7 +98,7 @@ jobs:
cleanup:
name: Cleanup
if: always()
if: success()
needs: [docker_preparation, fullstack_tests]
runs-on: ubuntu-latest
continue-on-error: true

View File

@ -100,7 +100,7 @@ jobs:
cleanup:
name: Cleanup
if: always()
if: success()
needs: [files-changed, unit_test_webapp]
runs-on: ubuntu-latest
continue-on-error: true