.actrc file

This file is read line by line and split by the first space.

example

-P ubuntu-latest=ubuntu:latest

The right parameter can include spaces, those are preserved.

Do not quote the right hand side.

Do not assume this is shell syntax.

In act you can use ${ENV_NAME} to insert env values. (Not supported in Runner.Client)

Do not put inline subshell commands into this file.

Use vars.yml file

Append the following into your .actrc.

--var-file vars.yml

Use secrets.yml file

Append the following into your .actrc.

--secret-file secrets.yml

now create secrets.yml

MY_SECRET: |
  My Multi
  Line Value