mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
run cache deletion job only, if file change condition is true
This commit is contained in:
parent
bf7d4e13c8
commit
4d61163868
2
.github/workflows/test-backend.yml
vendored
2
.github/workflows/test-backend.yml
vendored
@ -124,7 +124,7 @@ jobs:
|
|||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
name: Cleanup
|
name: Cleanup
|
||||||
if: success()
|
if: (needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.docker == 'true') || success()
|
||||||
needs: [files-changed, unit_test_backend]
|
needs: [files-changed, unit_test_backend]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|||||||
2
.github/workflows/test-webapp.yml
vendored
2
.github/workflows/test-webapp.yml
vendored
@ -100,7 +100,7 @@ jobs:
|
|||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
name: Cleanup
|
name: Cleanup
|
||||||
if: success()
|
if: (needs.files-changed.outputs.docker == 'true' || needs.files-changed.outputs.webapp == 'true') || success()
|
||||||
needs: [files-changed, unit_test_webapp]
|
needs: [files-changed, unit_test_webapp]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user