Create main.yml

testing ci
This commit is contained in:
Buzz 2022-05-12 16:09:26 +10:00 committed by GitHub
parent 652be42857
commit 48cd04fb93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

26
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: vagrant-up
on: [push]
jobs:
vagrant-up:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- name: Cache Vagrant boxes
uses: actions/cache@v2
with:
path: ~/.vagrant.d/boxes
key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }}
restore-keys: |
${{ runner.os }}-vagrant-
- name: Show Vagrant version
run: vagrant --version
- name: Run vagrant up
run: vagrant up
- name: ssh into box after boot
run: vagrant ssh -c "/vagrant/solo-builder/builder-ci.sh"