]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Move vmshutdown to first step.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 15 Jul 2022 11:31:48 +0000 (21:31 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 15 Jul 2022 11:31:48 +0000 (21:31 +1000)
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.

.github/workflows/selfhosted.yml

index fcbb6d94f5e907b15eb44e448e8fcd077872d979..7ce318b17a17163bbea28683473f559ac5f8206e 100644 (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