Net::GitHub::V3::Actions(3pm) | User Contributed Perl Documentation | Net::GitHub::V3::Actions(3pm) |
Net::GitHub::V3::Actions - GitHub Actions API
use Net::GitHub::V3; my $gh = Net::GitHub::V3->new; # read L<Net::GitHub::V3> to set right authentication info my $actions = $gh->actions; # set :user/:repo for simple calls $actions->set_default_user_repo('fayland', 'perl-net-github'); $actions->workflows(); $actions->workflows( { owner => 'xxx', repo => 'repo' } );
GitHub Actions
<https://developer.github.com/v3/actions/>
Artifacts
<https://developer.github.com/v3/actions/artifacts/>
$actions->artifacts( { owner => 'xxx', repo => 'repo' } );
$actions->run_artifacts( { owner => 'xxx', repo => 'repo', run_id => XXX } );
$actions->artifacts( { owner => 'xxx', repo => 'repo', artifact_id => 'ID' } );
Workflows
<https://developer.github.com/v3/actions/workflows/>
$actions->workflows( { owner => 'xxx', repo => 'repo' } );
$actions->workflow( { owner => 'xxx', repo => 'repo', workflow_id => 1234 } );
Workflow Jobs
<https://developer.github.com/v3/actions/workflow-jobs/>
Refer Net::GitHub
2022-10-08 | perl v5.34.0 |