print the defined Github Actions jobs
27 28 29 30 31 32 33 34
# File 'lib/tasks/github_actions/tasks/list.rb', line 27 def run Workflow.read.each do |workflow| workflow.jobs.each do |job| # print rake commands so users can easily copy&paste into terminal puts "rake actions:run[#{job.name}]" end end end