@@ -24,15 +24,30 @@ jobs:
24
24
chmod u+x /tmp/cpanm
25
25
- name : Install Dist::Zilla
26
26
run : sudo apt-get install -y libdist-zilla-perl
27
- - name : Install prereqs
28
- # This could probably be made more efficient by looking at what it's
29
- # installing via cpanm that could, instead, be installed from apt. I
30
- # may do that later, but for now, it's fine! -- rjbs, 2023-01-07
27
+ - name : Install authordeps
31
28
run : |
32
29
dzil authordeps --missing > /tmp/deps-phase-1.txt
30
+ echo "---BEGIN AUTHORDEPS---"
31
+ cat /tmp/deps-phase-1.txt
32
+ echo "---END AUTHORDEPS---"
33
33
/tmp/cpanm --notest -S < /tmp/deps-phase-1.txt
34
- dzil listdeps --author --missing >> /tmp/deps-phase-2.txt
34
+ - name : Upload cpanm logs for authordeps
35
+ uses : actions/upload-artifact@v4
36
+ with :
37
+ name : cpanm-authordeps.log
38
+ path : ~/.cpanm/build.log
39
+ - name : Install missing prereqs
40
+ run : |
41
+ dzil listdeps --author --missing > /tmp/deps-phase-2.txt
42
+ echo "---BEGIN PREREQS---"
43
+ cat /tmp/deps-phase-2.txt
44
+ echo "---END PREREQS---"
35
45
/tmp/cpanm --notest -S < /tmp/deps-phase-2.txt
46
+ - name : Upload cpanm logs for prereqs
47
+ uses : actions/upload-artifact@v4
48
+ with :
49
+ name : cpanm-prereqs.log
50
+ path : ~/.cpanm/build.log
36
51
- name : Build tarball
37
52
run : |
38
53
dzil build --in Dist-To-Test
0 commit comments