fix(ci): fixes for ephemeral nodes
This commit is contained in:
parent
ab7ca9b551
commit
de26a79a4c
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
||||
|
||||
- name: Remove all local Vagrant boxes
|
||||
if: always() # do this even if a step before has failed
|
||||
run: vagrant box list | cut -f 1 -d ' ' | xargs -L 1 vagrant box remove -f
|
||||
run: if vagrant box list &> /dev/null; then vagrant box list | cut -f 1 -d ' ' | xargs -L 1 vagrant box remove -f; echo "All Vagrant boxes removed."; else echo "No Vagrant boxes found."; fi
|
||||
|
||||
- name: Remove all Virtualbox VMs
|
||||
if: always() # do this even if a step before has failed
|
||||
@ -96,7 +96,7 @@ jobs:
|
||||
|
||||
- name: Remove all local Vagrant boxes
|
||||
if: always() # do this even if a step before has failed
|
||||
run: vagrant box list | cut -f 1 -d ' ' | xargs -L 1 vagrant box remove -f
|
||||
run: if vagrant box list &> /dev/null; then vagrant box list | cut -f 1 -d ' ' | xargs -L 1 vagrant box remove -f; echo "All Vagrant boxes removed."; else echo "No Vagrant boxes found."; fi
|
||||
|
||||
- name: Remove all Virtualbox VMs
|
||||
if: always() # do this even if a step before has failed
|
||||
|
||||
Loading…
Reference in New Issue
Block a user