From e4c67bdca7a3c592254fac97f9f21d9c0787e6fd Mon Sep 17 00:00:00 2001 From: Eric Zhu Date: Sat, 18 Nov 2023 03:56:07 -0500 Subject: [PATCH] fix(ci): use selfhosted runner --- .github/workflows/vagrant.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/vagrant.yaml b/.github/workflows/vagrant.yaml index 806f4ef0..0c1653ad 100644 --- a/.github/workflows/vagrant.yaml +++ b/.github/workflows/vagrant.yaml @@ -19,9 +19,13 @@ jobs: - debianlvm - rocky9 - fedora33 - runs-on: macos-12 + runs-on: self-hosted steps: - uses: actions/checkout@v3 - name: Start vagrant box run: vagrant up ${{ matrix.vagrant_target }} + + - name: Stop vagrant box + run: vagrant destroy -f ${{ matrix.vagrant_target }} + if: ${{ success() || failure() }} # we want to run this step even if the last step failed