Skip to content

Commit

Permalink
Update provision.yml to macos-12
Browse files Browse the repository at this point in the history
add extra vagrant steps (update package, destroy VM)
  • Loading branch information
theodore86 committed May 2, 2023
1 parent 5e8d6bb commit 41bf376
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@ on:

jobs:
sandbox_provisioning:
runs-on: macos-11
runs-on: macos-12
steps:
- name: "Checkout source code"
uses: "actions/checkout@v3.3.0"

- name: "Install prerequisites"
run: |
brew install --cask virtualbox@6.1.12
brew install --cask vagrant@2.3.4
- name: "Cache Vagrant boxes"
uses: "actions/cache@v3.2.3"
with:
Expand All @@ -33,9 +28,9 @@ jobs:
restore-keys: |
${{ runner.os }}-vagrant-
- name: "Show Vagrant version"
- name: "Vagrant base box update"
run: |
vagrant --version
vagrant box update
- name: "Installation of Vagrant plugins"
run: |
Expand All @@ -44,3 +39,7 @@ jobs:
- name: "Provision of the Vagrant (sandbox)"
run: |
vagrant up --provider=virtualbox
- name: "Destroy the Vagrant (sandbox)"
run: |
vagrant destroy -f

0 comments on commit 41bf376

Please sign in to comment.