Fix syntax error in spectesting.yml
Multiple keys of the same name are not allowed. Instead, the "if's" can be evaluated as a boolean (and) expression
This commit is contained in:
parent
61a04ed938
commit
b462e721b5
4
.github/workflows/spectesting.yml
vendored
4
.github/workflows/spectesting.yml
vendored
@ -88,11 +88,10 @@ jobs:
|
||||
path: ${{ github.workspace }}/vagrant-spec.log
|
||||
|
||||
notify-on-success:
|
||||
if: github.repository == 'hashicorp/vagrant-acceptance'
|
||||
if: github.repository == 'hashicorp/vagrant-acceptance' && 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
|
||||
@ -102,7 +101,6 @@ jobs:
|
||||
runs-on: self-hosted
|
||||
name: Cleanup Post Vagrant-Spec Tests
|
||||
needs: [spec-tests, notify-on-success]
|
||||
if: always()
|
||||
steps:
|
||||
- name: Clean Packet
|
||||
run: ./.ci/spec/clean-packet.sh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user