-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
action.yml
66 lines (66 loc) · 2.28 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: "Setup Perl environment"
description: "Setup a Perl environment and add it to the PATH"
author: "Ichinose Shogo"
inputs:
perl-version:
description: "The Perl version to download (if necessary) and use. Example: 5.30.0"
required: false
perl-version-file:
description: "File containing the Perl version. Example: .perl-version"
required: false
distribution:
description: |
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.
default: "default"
required: false
multi-thread:
description: |
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.
required: false
install-modules-with:
description: |
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.
required: false
install-modules-args:
description: |
extra argument for CPAN module installer.
required: false
install-modules:
description: |
List of one or more CPAN modules, separated by a newline \n character.
required: false
enable-modules-cache:
description: enable caching when install CPAN modules.
default: true
required: false
working-directory:
description: working directory.
default: "."
required: false
outputs:
perl-version:
description: |
The version of perl actually installed.
perl-hash:
description: |
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:
description: 'A boolean value to indicate if a cache was hit'
runs:
using: "node20"
main: "dist/setup/index.js"
post: 'dist/cache-save/index.js'
post-if: success()
branding:
icon: "play"
color: "blue"