actions-marketplace-validations/Setup Perl environment

Setup a Perl environment and add it to the PATH

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 4, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/shogo82148_actions-setup-perl@47b10f194bb04a0320f00ff4f703dde7a0dccd31 # no releases — HEAD as of 2026-07-13

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github-tokenThe GitHub token to use for verifying the perl binary. ${{ github.token }}
perl-versionThe Perl version to download (if necessary) and use. Example: 5.30.0no
perl-version-fileFile containing the Perl version. Example: .perl-versionno
distributionThe distribution of Perl binary. "default" and "strawberry" are accepted. "default" is the custom binaries for actions-setup-perl. It is available on Linux, macOS, and Windows. "strawberry" is from http://strawberryperl.com/ . It is available on Windows and falls back to default on other platform. nodefault
multi-threadenables multi threading options(-Duseithreads). "true" and "false" are accepted. On Linux and macOS, the default value is false (multi threading is disabled). On Windows, this option is ignored, multi-threading is always enabled. no
install-modules-withinstall CPAN modules from your cpanfile with the specified installer. cpanm(App::cpanminus), cpm(App::cpm), and carton(Carton) are available. By default, any CPAN modules are not installed. no
install-modules-argsextra argument for CPAN module installer. no
install-modulesList of one or more CPAN modules, separated by a newline \n character. no
enable-modules-cacheenable caching when install CPAN modules.notrue
working-directoryworking directory.no.
namedescription
perl-versionThe version of perl actually installed.
perl-hashThe digest of perl -V. It contains useful information to use as the cache key, e.g. the platform, the version of perl, the compiler option for building perl.
cache-hitA boolean value to indicate if a cache was hit