ci: Ensure cleanup runs after notify completes
Without declaring it as a dependency the job can run in parallel and delete the workspace out from under the notify job. Using format from this example: https://docs.github.com/en/actions/using-jobs/using-jobs-in-a-workflow#example-not-requiring-successful-dependent-jobs
This commit is contained in:
parent
ebd03d604b
commit
2adb438eee
2
.github/workflows/spectesting.yml
vendored
2
.github/workflows/spectesting.yml
vendored
@ -96,7 +96,7 @@ jobs:
|
|||||||
cleanup:
|
cleanup:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
name: Cleanup Post Vagrant-Spec Tests
|
name: Cleanup Post Vagrant-Spec Tests
|
||||||
needs: spec-tests
|
needs: [spec-tests, notify-on-success]
|
||||||
if: always()
|
if: always()
|
||||||
steps:
|
steps:
|
||||||
- name: Clean Packet
|
- name: Clean Packet
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user