---
name: "Net::GitHub::V3::Actions"
section: "3pm"
platform: "linux"
package: "libnet-github-perl"
version: "1.05-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Net::GitHub::V3::Actions"
---

# Net::GitHub::V3::Actions(3pm)

GitHub Actions API

## NAME

Net::GitHub::V3::Actions - GitHub Actions API

## SYNOPSIS

```
    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' } );
```

## DESCRIPTION

### METHODS

*GitHub Actions*

\<https://developer.github.com/v3/actions/\>

*Artifacts*

\<https://developer.github.com/v3/actions/artifacts/\>

- artifacts

  List artifacts for a repository

  ```
      $actions->artifacts( { owner => 'xxx', repo => 'repo' } );
  ```

- run\_artifacts

  ```
      $actions->run_artifacts( { owner => 'xxx', repo => 'repo', run_id => XXX } );
  ```

- artifact

  ```
      $actions->artifacts( { owner => 'xxx', repo => 'repo', artifact_id => 'ID' } );
  ```

*Workflows*

\<https://developer.github.com/v3/actions/workflows/\>

- workflows

  List repository workflows

  ```
      $actions->workflows( { owner => 'xxx', repo => 'repo' } );
  ```

- workflow

  Get a workflow

  ```
      $actions->workflow( { owner => 'xxx', repo => 'repo', workflow_id => 1234 } );
  ```

*Workflow Jobs*

\<https://developer.github.com/v3/actions/workflow-jobs/\>

- jobs

  List jobs for a workflow run

- job

  Get a workflow job

## AUTHOR & COPYRIGHT & LICENSE

Refer Net::GitHub
