DEV Community

Discussion on: Join Us for the 2021 GitHub Actions Hackathon on DEV!

Collapse
 
robertobutti profile image
Roberto B.

A new way to build GitHub Actions Workflow files.
Maghic.

$yaml=\App\Objects\YamlObject::make()
        ->setName("My Test Name")
        ->setOnPushDefaultBranches()
        ->addMysqlService()
        ->addMatrixOsUbuntuLatest()
        ->toString();
Enter fullscreen mode Exit fullscreen mode