pierreminiggio/github-action-run-starter-and-artifact-downloader 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Composer 安装命令:

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

包简介

README 文档

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);

runActionAndGetArtifacts also accepts a $ref (defaults to 'main') and a $deleteAfterDownloading (defaults to false) parameter. When $deleteAfterDownloading is set to true, the run (and, as a consequence, its artifacts) is deleted from Github once the artifacts have been successfully downloaded :

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

统计信息

  • 总下载量: 122
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 4
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2021-04-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固