Difference between revisions of "Act"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
  [[brew install act]]
 
  [[brew install act]]
 
  [[act --help]]
 
  [[act --help]]
 +
[[act --container-architecture linux/amd64]]
 +
[[act -l]]
 +
[[act -j]]
  
 +
[[act -j mytestjob]]
  
  WARN  ⚠ You are using Apple M-series chip and you have not specified container architecture, you might encounter issues while running act. If so,  
+
[[act -l]]
  try running it with '--container-architecture linux/amd64'. ⚠
+
  WARN  ⚠ You are using Apple M-series chip and you have not specified container architecture, you might encounter issues while running act. If so, try
 +
running it with '--container-architecture linux/amd64'. ⚠
 +
Stage  Job ID      Job name    Workflow name  Workflow file  Events
 +
0      deploy      Deploy      Deploy to AWS  aws.yml        [[workflow_dispatch]]
 +
0      deployment  deployment  Deploy2 to AWS aws2.yml      workflow_dispatch
 +
 
 +
 
 +
  WARN  ⚠ You are using Apple M-series chip and you have not specified container architecture, you might encounter issues while running act. If so, try running it with '--container-architecture linux/amd64'. ⚠
 
  Error: stat [[~/.github/workflows]]: no such file or directory
 
  Error: stat [[~/.github/workflows]]: no such file or directory
  
 
== Related ==
 
== Related ==
 
* [[GitHub Desktop]]
 
* [[GitHub Desktop]]
 +
* [[gh extension install]] https://github.com/nektos/gh-act
  
 
== See also ==
 
== See also ==

Latest revision as of 12:45, 19 February 2024

brew install act
act --help
act --container-architecture linux/amd64
act -l
act -j
act -j mytestjob
act -l
WARN  ⚠ You are using Apple M-series chip and you have not specified container architecture, you might encounter issues while running act. If so, try 
running it with '--container-architecture linux/amd64'. ⚠
Stage  Job ID      Job name    Workflow name  Workflow file  Events
0      deploy      Deploy      Deploy to AWS  aws.yml        workflow_dispatch
0      deployment  deployment  Deploy2 to AWS aws2.yml       workflow_dispatch


WARN  ⚠ You are using Apple M-series chip and you have not specified container architecture, you might encounter issues while running act. If so, try running it with '--container-architecture linux/amd64'. ⚠
Error: stat ~/.github/workflows: no such file or directory

Related[edit]

See also[edit]

Advertising: