Move vmshutdown to first step.

If a previous run on a physical runner has failed to clean up, the next
run will fail because it'll try to check out the code to a broken
directory mount.  Make cleanup the first step.
This commit is contained in:
Darren Tucker 2022-07-15 21:31:48 +10:00
parent 46b91b70ff
commit eb679e2959
1 changed files with 2 additions and 2 deletions

View File

@ -72,11 +72,11 @@ jobs:
# - { os: sol11, configs: sol64-pam }
- { os: win10, configs: cygwin-release }
steps:
- name: shutdown VM if running
run: vmshutdown
- uses: actions/checkout@v2
- name: autoreconf
run: autoreconf
- name: shutdown VM if running
run: vmshutdown
- name: startup VM
run: vmstartup
- name: configure