Skip to content

Commit f6243e1

Browse files
committed
Rejig the log archiving a bit
1 parent ad4ed42 commit f6243e1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/buildsite.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
sudo cpanm --installdeps --notest .
2424
sudo cpanm --notest File::ShareDir::Install
2525
sudo cpanm --notest App::CPANModuleSite
26+
sudo cp -r /root/.cpanm/work/*/build.log build.log
27+
sudo chmod -R 666 build.log
2628
- name: Create pages
2729
run: |
2830
mkdir -p docs
@@ -36,11 +38,6 @@ jobs:
3638
git add docs/
3739
if [ "$GIT_STATUS" != "" ]; then git commit -m "Web site generation"; fi
3840
if [ "$GIT_STATUS" != "" ]; then git push; fi
39-
- name: Copy cpanm log
40-
if: ${{ failure() }}
41-
run: |
42-
sudo cp -r /root/.cpanm/work/*/build.log build.log
43-
sudo chmod -R 666 build.log
4441
- name: Archive CPAN logs
4542
if: ${{ failure() }}
4643
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)