Skip to content
\n

.actrc can use the flags from the command line. For example,

\n
~/slalom/dd/avhcloud (master)$ act --help\nRun GitHub actions locally by specifying the event name (e.g. `push`) or an action name directly.\n\nUsage:\n  act [event name to run] [flags]\n\nIf no event name passed, will default to \"on: push\"\nIf actions handles only one event it will be used as default instead of \"on: push\"\n\nFlags:\n      --action-cache-path string                          Defines the path where the actions get cached and host workspaces created. (default \"/home/rob/.cache/act\")\n      --action-offline-mode                               If action contents exists, it will not be fetch and pull again. If turn on this,will turn off force pull\n  -a, --actor string                                      user that triggered the event (default \"nektos/act\")\n      --artifact-server-addr string                       Defines the address to which the artifact server binds. (default \"192.168.68.76\")\n      --artifact-server-path string                       Defines the path where the artifact server stores uploads and retrieves downloads from. If not specified the artifact server will not start.\n      --artifact-server-port string   \n
","upvoteCount":3,"url":"https://github.com/nektos/act/discussions/2339#discussioncomment-9948120"}}}

.actrc reference? #2339

Answered by robertcarr
k4y4k asked this question in Q&A
May 24, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I noticed the same thing. Here's what I know, YYMV:

Quick Answer

Contains flags from act --help

Example

$ cat .actrc
--json
--rebuild

.actrc can use the flags from the command line. For example,

~/slalom/dd/avhcloud (master)$ act --help
Run GitHub actions locally by specifying the event name (e.g. `push`) or an action name directly.

Usage:
  act [event name to run] [flags]

If no event name passed, will default to "on: push"
If actions handles only one event it will be used as default instead of "on: push"

Flags:
      --action-cache-path string                          Defines the path where the actions get cached and host workspaces created. (default "/home/rob/.cache/act")
      --a…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@k4y4k
Comment options

Answer selected by k4y4k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants