0

I have started using github actions recently and i wanted to use the github-cli for actions and I have been following a tutorial on how to manually run a workflow: https://cli.github.com/manual/gh_workflow_run

Well, on my machine I get the following:

.github/workflows (git)-[windows_workflow] % gh workflow run    
unknown command "run" for "gh workflow"

Usage:  gh workflow <command> [flags]

Available commands:

Ideas? I'm following the API and I have a recent version of github-cli:

gh version 1.8.1 (2021-04-03)
https://github.com/cli/cli/releases/tag/v1.8.1
Benjamin W.
  • 46,058
  • 19
  • 106
  • 116
XapaJIaMnu
  • 1,408
  • 3
  • 12
  • 28

1 Answers1

1

gh workflow has been added in gh v1.9.0, and you are using v1.8.1.

Benjamin W.
  • 46,058
  • 19
  • 106
  • 116