ci: Reorder spectesting to fix success notify
Turns out you can't run a script in the workdir after you `rm -rf` the workspace!
This commit is contained in:
parent
0c7d5f2eee
commit
ebd03d604b
17
.github/workflows/spectesting.yml
vendored
17
.github/workflows/spectesting.yml
vendored
@ -84,6 +84,15 @@ jobs:
|
||||
name: vagrant-spec-${{matrix.providers}}.log
|
||||
path: ${{ github.workspace }}/vagrant-spec.log
|
||||
|
||||
notify-on-success:
|
||||
runs-on: self-hosted
|
||||
name: Notify on Success
|
||||
needs: spec-tests
|
||||
if: success()
|
||||
steps:
|
||||
- name: Notify on Success
|
||||
run: ./.ci/spec/notify-success.sh
|
||||
|
||||
cleanup:
|
||||
runs-on: self-hosted
|
||||
name: Cleanup Post Vagrant-Spec Tests
|
||||
@ -95,11 +104,3 @@ jobs:
|
||||
- name: Clean Workspace
|
||||
run: rm -rf ${{ github.workspace }}
|
||||
|
||||
notify-on-success:
|
||||
runs-on: self-hosted
|
||||
name: Notify on Success
|
||||
needs: spec-tests
|
||||
if: success()
|
||||
steps:
|
||||
- name: Notify on Success
|
||||
run: ./.ci/spec/notify-success.sh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user