1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-24 00:02:09 +02:00
tldr/pages/common/act.md
iTrooz e649a5acc6
act: fix error for running job (#12146)
* act: fix error for running job

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-01-28 19:00:39 +05:30

458 B

act

Execute GitHub Actions locally using Docker. More information: https://github.com/nektos/act.

  • [l]ist the available jobs:

act -l

  • Run the default event:

act

  • Run a specific event:

act {{event_type}}

  • Run a specific [j]ob:

act -j {{job_id}}

  • Do [n]ot actually run the actions (i.e. a dry run):

act -n

  • Show [v]erbose logs:

act -v

  • Run a specific [W]orkflow with the push event:

act push -W {{path/to/workflow}}