[openssh-commits] [openssh] 01/01: Run vm startup and shutdown from runner temp dir.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Nov 8 12:02:09 AEDT 2022


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit a32c07cbb78f65d8527642b96474a83b413f8108
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Tue Nov 8 11:33:25 2022 +1100

    Run vm startup and shutdown from runner temp dir.
    
    Should work even if the github workspace dir is on a stale sshfs mount.
---
 .github/workflows/selfhosted.yml | 2 ++
 .github/workflows/upstream.yml   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/.github/workflows/selfhosted.yml b/.github/workflows/selfhosted.yml
index f761f5bf..8044a2fb 100644
--- a/.github/workflows/selfhosted.yml
+++ b/.github/workflows/selfhosted.yml
@@ -74,6 +74,7 @@ jobs:
     steps:
     - name: shutdown VM if running
       run: vmshutdown
+      working-directory: ${{ runner.temp }}
     - uses: actions/checkout at main
     - name: autoreconf
       run: autoreconf
@@ -106,3 +107,4 @@ jobs:
     - name: shutdown VM
       if: always()
       run: vmshutdown
+      working-directory: ${{ runner.temp }}
diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml
index 46672d6f..1be6c2ee 100644
--- a/.github/workflows/upstream.yml
+++ b/.github/workflows/upstream.yml
@@ -20,6 +20,7 @@ jobs:
     - uses: actions/checkout at main
     - name: shutdown VM if running
       run: vmshutdown
+      working-directory: ${{ runner.temp }}
     - name: startup VM
       run: vmstartup
     - name: update source
@@ -45,3 +46,4 @@ jobs:
     - name: shutdown VM
       if: always()
       run: vmshutdown
+      working-directory: ${{ runner.temp }}

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list