Skip to content

Commit

Permalink
Merge branch 'main' into hotfix/fix-broken-ova-archive
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkratz committed Mar 13, 2024
2 parents 2a0d27c + 779321d commit b2243aa
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/vagrant-up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,22 @@ jobs:
group: Default
labels: [self-hosted, Linux, X64]
steps:
- name: clean up old VMs
- name: clean up old VirtualBox VMs
run: |
vboxmanage list vms | \
grep -o -P '(?<={).*(?=})' | \
while read line ; do vboxmanage unregistervm $line --delete ; done
- name: clean up old Vagrant artifacts
run: |
vagrant destroy emoflon || true
vagrant box remove gusztavvargadr/xubuntu-desktop-2204-lts || true
# https://stackoverflow.com/a/71346341
- name: clean up old GitHub Actions runner build folder
run: |
ls -la ./
rm -rf ./* || true
rm -rf ./.??* || true
ls -la ./
- uses: actions/checkout@v4
- name: show Vagrant version
run: vagrant --version
Expand All @@ -42,7 +53,7 @@ jobs:
echo "=> Vagrant run finished."
env:
GITHUB_TOKEN: ${{ github.token }}
- name: export virtualbox VM
- name: export VirtualBox VM
run: |
vagrant halt
vboxmanage export emoflon -o emoflon.ovf
Expand Down

0 comments on commit b2243aa

Please sign in to comment.