actions-marketplace-validations/Setup Perl environment
Setup a Perl environment and add it to the PATH
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 4, 2026
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/shogo82148_actions-setup-perl@47b10f194bb04a0320f00ff4f703dde7a0dccd31 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | The GitHub token to use for verifying the perl binary. | — | ${{ github.token }} |
| perl-version | The Perl version to download (if necessary) and use. Example: 5.30.0 | no | — |
| perl-version-file | File containing the Perl version. Example: .perl-version | no | — |
| distribution | The 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. | no | default |
| multi-thread | enables 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-with | install 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-args | extra argument for CPAN module installer. | no | — |
| install-modules | List of one or more CPAN modules, separated by a newline \n character. | no | — |
| enable-modules-cache | enable caching when install CPAN modules. | no | true |
| working-directory | working directory. | no | . |
Outputs
| name | description |
|---|---|
| perl-version | The version of perl actually installed. |
| perl-hash | The 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-hit | A boolean value to indicate if a cache was hit |