Shutdown any VM before trying to check out repo.

In the case where the previous run did not clean up, the checkout will
fail as it'll leave a stale mount.
This commit is contained in:
Darren Tucker 2022-11-08 12:42:52 +11:00
parent a32c07cbb7
commit 419aa8a312
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -17,10 +17,10 @@ jobs:
os: [ obsdsnap, obsdsnap-i386 ]
configs: [ default, without-openssl, ubsan ]
steps:
- uses: actions/checkout@main
- name: shutdown VM if running
run: vmshutdown
working-directory: ${{ runner.temp }}
- uses: actions/checkout@main
- name: startup VM
run: vmstartup
- name: update source