]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Shutdown any VM before trying to check out repo.
authorDarren Tucker <dtucker@dtucker.net>
Tue, 8 Nov 2022 01:42:52 +0000 (12:42 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Tue, 8 Nov 2022 01:42:52 +0000 (12:42 +1100)
In the case where the previous run did not clean up, the checkout will
fail as it'll leave a stale mount.

.github/workflows/upstream.yml

index 1be6c2ee33c3a54d3057e4762412777cb7e35b76..26233e4337e936737e48b5400f9d9028ace4f8f2 100644 (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