The Perl Advent Calendar needs more articles for 2022. Submit your idea today!

NAME

Dist::Zilla::Plugin::Author::CSSON::GithubActions - Ease creation of common Github Actions workflows

Requires Perl 5.14+ coverage 84.6% Build status at Github

VERSION

Version 0.0107, released 2020-12-30.

SYNOPSIS

In dist.ini:

    [Author::CSSON::GithubActions::Workflow::TestWithMakefile]
    ; set on.push.branches to an empty list
    clear_on_push_branches = 1

    ; set on.pull_request.branches to an empty list
    clear_on_pull_request_branches = 1

    ; add branches to on.push.branches
    on_pull_request_branches = 'this-branch'
    on_pull_request_branches = 'that-other-branch'

    ; add branches to on.pull_request.branches
    on_pull_request_branches = 'my-pr-branch'
    on_pull_request_branches = 'feature-branch'

    ; replace jobs.perl-job.strategy.matrix.os
    matrix_os = ubuntu-latest
    matrix_os = ubuntu-16.04

    ; replace jobs.perl-job.strategy.matrix.perl-version
    perl_version = 5.32
    perl_version = 5.24
    perl_version = 5.18

STATUS

This plugin is very early in development. It might be released in a non-author namespace at a later stage.

DESCRIPTION

This distribution is a framework for creating re-usable Github Actions workflows. GitHub's documentation about Actions is located at http://docs.github.com/en/free-pro-team@latest/actions.

The core of it is the Dist::Zilla::Role::Author::CSSON::GithubActions role.

Included in this distribution is an example workflow, Dist::Zilla::Plugin::Author::CSSON::GithubActions::Workflow::TestWithMakefile.

SEE ALSO

SOURCE

https://github.com/Csson/p5-Dist-Zilla-Plugin-Author-CSSON-GithubActions

HOMEPAGE

https://metacpan.org/release/Dist-Zilla-Plugin-Author-CSSON-GithubActions

AUTHOR

Erik Carlsson <info@code301.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by Erik Carlsson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.