pierreminiggio/github-action-run-starter-and-artifact-downloader

There is no license information available for the latest version (2.0.0) of this package.

2.0.0 2022-05-29 20:18 UTC

This package is auto-updated.

Last update: 2024-10-29 06:12:35 UTC


README

Install using composer :

composer require pierreminiggio/github-action-run-starter-and-artifact-downloader
use PierreMiniggio\GithubActionRunStarterAndArtifactDownloader\GithubActionRunStarterAndArtifactDownloaderFactory;

require __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';

$actionRunner = (new GithubActionRunStarterAndArtifactDownloaderFactory())->make();
$artifacts = $actionRunner->runActionAndGetArtifacts(
    'token',
    'pierreminiggio',
    'remotion-test-github-action',
    'render-video.yml',
    3,
    0,
    [
        'titleText' => 'Hello from PHP action runner',
        'titleColor' => 'orange'
    ]
);

var_dump($artifacts);