Choose the release and the CPU architecture. A leading part
such as 13 selects the newest 13.x.
选版本和 CPU 架构。只写前缀(比如 13)会选中最新的
13.x。
Share the workspace over rsync,
sshfs, nfs or scp -- or not at
all.
用 rsync、sshfs、nfs
或 scp 共享工作目录,也可以完全不共享。
Name the environment variables and secrets that should
follow your code into the VM.
指定哪些环境变量和 secret 跟着代码一起进虚拟机。
Forward TCP and UDP ports between the runner and the guest.
在 runner 和客户机之间转发 TCP / UDP 端口。
Size the machine. It takes every core of the host by
default.
调整机器规格。默认会用满宿主机的所有核心。
Run later workflow steps straight inside the guest, with
the workspace kept in step on both sides.
让后续的 workflow step 直接在客户机里跑,两边的工作目录保持同步。
Cache the VM image once prepare has finished,
so later runs skip installing packages entirely.
在 prepare 跑完后缓存虚拟机镜像,后续构建直接跳过装包。
When a build fails, the action opens a VNC session and
waits for you, instead of throwing the machine away.
构建失败时,action 会开一个 VNC 会话等你进去,而不是直接把机器扔掉。