File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,24 @@ GitHub action to install App::cpm
6
6
7
7
This action installs 'cpm' as root so you can then use it in your workflow.
8
8
9
+ ``` yaml
10
+ - name : install cpm and multiple modules
11
+ uses :
perl-actions/[email protected]
12
+ with :
13
+ install : |
14
+ Simple::Accessor
15
+ Test::Parallel
16
+ # or you can use a cpanfile
17
+ # cpanfile: 'your-cpanfile'
18
+ # default values you can customize
19
+ # sudo: true
20
+ # version: master
21
+ # where to install cpm
22
+ # path: "$Config{installsitescript}/cpm"
23
+ # which perl binary to use
24
+ # perl: 'perl'
25
+ ```
26
+
9
27
## Inputs
10
28
11
29
### ` install `
@@ -66,6 +84,18 @@ You can then use cpm yourself in order commands.
66
84
- run : ' sudo cpm install -g Simple::Accessor'
67
85
` ` `
68
86
87
+ ### Install an older version of cpm
88
+
89
+ Just install cpm without running any install commands.
90
+ You can then use cpm yourself in order commands.
91
+
92
+ ` ` ` yaml
93
+ - name : install cpm
94
+ uses :
perl-actions/[email protected]
95
+ with :
96
+ version : ' 0.990'
97
+ ` ` `
98
+
69
99
### Install a single module
70
100
71
101
` ` ` yaml
You can’t perform that action at this time.
0 commit comments