Action to execute commands within a Raspberry Pi VM running on QEMU
- uses: bjia56/raspberry-pi-runner@main
with:
# Commands to run on the Pi, executed with /bin/bash
# Default: uname -a
commands: ""
# User to run commands on the Pi, either pi or root
# Default: pi
user: ""
# Path on the host to copy into the VM, before commands are executed
# Default:
prerun_copy_from: ""
# Path on the VM to copy files to, before commands are executed
# Default: /home/pi
prerun_copy_to: ""
# Path on the VM to copy to the host, after commands are executed
# Default:
postrun_copy_from: ""
# Path on the host to copy files to, after commands are executed
# Default: .
postrun_copy_to: ""
# Print debugging output from VM initialization and teardown
# Default: no
debug: ""
Input | Description | Default | Required |
---|---|---|---|
commands |
Commands to run on the Pi, executed with /bin/bash | uname -a |
true |
user |
User to run commands on the Pi, either pi or root | pi |
true |
prerun_copy_from |
Path on the host to copy into the VM, before commands are executed | false | |
prerun_copy_to |
Path on the VM to copy files to, before commands are executed | /home/pi |
false |
postrun_copy_from |
Path on the VM to copy to the host, after commands are executed | false | |
postrun_copy_to |
Path on the host to copy files to, after commands are executed | . |
false |
debug |
Print debugging output from VM initialization and teardown | no |
false |