The value for runs-on must either be set to macos-13
or ubuntu-latest
in order to use this action.
This action allows the running of command-line programs via the bash
shell of VMs provisioned with Vagrant using the run keyword. This also works with composite actions which exclusively use the run
keyword (and/or call other composite actions which also do so.)
generic/arch
- Provision a
VM
using the specifiedbox
(with 2 CPUs & 2GB of RAM)- name: Provision VM uses: hummeltech/vagrant-action@v2 with: box: generic/arch cpus: 2 memory: 2048
- Execute a command using the
run
keyword- name: Display the contents of /etc/os-release run: cat /etc/os-release