Run vm startup and shutdown from runner temp dir.
Should work even if the github workspace dir is on a stale sshfs mount.
This commit is contained in:
parent
2b40a7dfcd
commit
a32c07cbb7
|
@ -74,6 +74,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: shutdown VM if running
|
- name: shutdown VM if running
|
||||||
run: vmshutdown
|
run: vmshutdown
|
||||||
|
working-directory: ${{ runner.temp }}
|
||||||
- uses: actions/checkout@main
|
- uses: actions/checkout@main
|
||||||
- name: autoreconf
|
- name: autoreconf
|
||||||
run: autoreconf
|
run: autoreconf
|
||||||
|
@ -106,3 +107,4 @@ jobs:
|
||||||
- name: shutdown VM
|
- name: shutdown VM
|
||||||
if: always()
|
if: always()
|
||||||
run: vmshutdown
|
run: vmshutdown
|
||||||
|
working-directory: ${{ runner.temp }}
|
||||||
|
|
|
@ -20,6 +20,7 @@ jobs:
|
||||||
- uses: actions/checkout@main
|
- uses: actions/checkout@main
|
||||||
- name: shutdown VM if running
|
- name: shutdown VM if running
|
||||||
run: vmshutdown
|
run: vmshutdown
|
||||||
|
working-directory: ${{ runner.temp }}
|
||||||
- name: startup VM
|
- name: startup VM
|
||||||
run: vmstartup
|
run: vmstartup
|
||||||
- name: update source
|
- name: update source
|
||||||
|
@ -45,3 +46,4 @@ jobs:
|
||||||
- name: shutdown VM
|
- name: shutdown VM
|
||||||
if: always()
|
if: always()
|
||||||
run: vmshutdown
|
run: vmshutdown
|
||||||
|
working-directory: ${{ runner.temp }}
|
||||||
|
|
Loading…
Reference in New Issue