PHP code example of pierreminiggio / github-action-run-starter-and-artifact-downloader
1. Go to this page and download the library: Download pierreminiggio/github-action-run-starter-and-artifact-downloader library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pierreminiggio / github-action-run-starter-and-artifact-downloader example snippets
use PierreMiniggio\GithubActionRunStarterAndArtifactDownloader\GithubActionRunStarterAndArtifactDownloaderFactory;
nActionAndGetArtifacts(
'token',
'pierreminiggio',
'remotion-test-github-action',
'render-video.yml',
3,
0,
[
'titleText' => 'Hello from PHP action runner',
'titleColor' => 'orange'
]
);
var_dump($artifacts);