actions-marketplace-validations/Anka VM GitHub Action

A GitHub Action for starting and running commands within Anka macOS VMs

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
anka-vm-template-name(string) (required) name or UUID of your Anka Templateyes
anka-vm-tag-name(string) (optional) name of Anka Tag (optional; defaults to latest tag)
anka-custom-vm-label(string) (optional) label for the cloned VM that will execute your code (default: github-actions-${GITHUB_REPOSITORY}-${GITHUB_RUN_NUMBER}-${GITHUB_JOB}-${GITHUB_ACTION})
vm-commands(multi-line string or regular string) (required) commands you wish to run inside of the Anka VMyes
host-pre-commands(string) (optional) commands you wish to run outside on the host BEFORE preparation of and execution inside the VM
host-post-commands(string) (optional) commands you wish to run outside on the host AFTER preparation of and execution inside the VM
anka-start-options(string) (optional) options set for the anka start execution
anka-run-options(string) (optional) options set for anka run execution
anka-registry-pull-options(string) (optional) options set for anka registry pull execution
host-command-options(string; js object or JSON) (optional) options to use for github actions exec command; must be a js object (do not use single quotes to wrap values; { key: "value" }) or JSON ({ "key": "value" }) inside of a string!\nSupported options: https://github.com/actions/toolkit/blob/master/packages/exec/src/interfaces.ts
lock-file-location(string) (optional) location where the pull/clone lock file exists (default: "/tmp")
artifact-files(multi-line string) (optional) each file you wish to upload and include in the final artifact, newline separated
artifact-archive-file-name(string) (optional) name of the artifact (archive) that contains all of the files specified in the artifact-files input (default: "artifact")
artifacts-directory-on-host(string) (optional) an absolute or relative file path that denotes the host-level directory containing the files being uploaded (default: "./")
skip-registry-pull(boolean) (optional) skip the registry pull; useful if you do not have a registry or it is down and the Template + Tag are already on the host
anka-cp-disable(boolean) (optional) do not use anka cp command to move files from VM to host (a requirement to upload them as artifacts)
anka-cp-host-paths(multi-line string) (optional) files and folders you wish to upload from the host into the VM
anka-cp-destination-directory(string) (optional) destination directory on VM you wish to upload the anka-cp-host-paths into (default: "./")
namedescription
stdthe STDOUT and STDERR from the executed commands