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:
sophia 2022-09-13 18:19:28 -04:00
parent 61a04ed938
commit b462e721b5

View File

@ -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