From 420f89a0d814c3effe17b57b98e1fdd648cde3fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Caletka?= Date: Thu, 15 Aug 2024 15:28:40 +0200 Subject: [PATCH] Migrate build to Ubuntu runner --- .github/workflows/vagrant-build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/vagrant-build.yml b/.github/workflows/vagrant-build.yml index 85d894c..58599e6 100644 --- a/.github/workflows/vagrant-build.yml +++ b/.github/workflows/vagrant-build.yml @@ -10,8 +10,14 @@ on: jobs: build-release: - runs-on: macos-12 + runs-on: ubuntu-22.04 steps: + - name: Install Vagrant and Virtualbox + run: | + sudo apt update && sudo apt install virtualbox + wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg + echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list + sudo apt update && sudo apt install vagrant - name: Checkout repository uses: actions/checkout@v4