File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,13 @@ jobs:
2626 env :
2727 cachepan : cachepan
2828 locallib : xlocal
29- PERL5LIB : ${{ github.workspace }}/xlocal/lib/perl5
3029
3130 steps :
3231 - uses : actions/checkout@v3
3332 - name : " Set up perl"
3433 uses : shogo82148/actions-setup-perl@v1
3534 with :
3635 perl-version : ${{ matrix.perl-version }}
37- enable-modules-cache : false
3836 - name : " Create perl fingerprint file"
3937 run : perl -MConfig -wE 'say for sprintf("%vd", $^V), Config::bincompat_options' > perl-fingerprint
4038 - name : " Cache CPAN fragments"
5048 with :
5149 path : ${{ env.locallib }}
5250 key : xlocal-lib-${{ matrix.os }}-${{ hashFiles('perl-fingerprint', 'Makefile_PL_settings*.plx') }}
51+ - name : " Activate local lib directory"
52+ run : echo 'PERL5LIB=${{ github.workspace }}/${{ env.locallib }}/lib/perl5' >> $GITHUB_ENV
5353 - run : cpanm --mirror "file://${{ github.workspace }}/${{ env.cachepan }}" --mirror https://www.cpan.org/ --save-dist "${{ github.workspace }}/${{ env.cachepan }}" -l "${{ env.locallib }}" --notest ExtUtils::MakeMaker
5454 - run : cpanm --mirror "file://${{ github.workspace }}/${{ env.cachepan }}" --mirror https://www.cpan.org/ --save-dist "${{ github.workspace }}/${{ env.cachepan }}" -l "${{ env.locallib }}" --notest --installdeps --with-develop .
5555 - run : perl Makefile.PL
Original file line number Diff line number Diff line change @@ -26,15 +26,13 @@ jobs:
2626 env :
2727 cachepan : cachepan
2828 locallib : xlocal
29- PERL5LIB : ${{ github.workspace }}/xlocal/lib/perl5
3029
3130 steps :
3231 - uses : actions/checkout@v3
3332 - name : " Set up perl"
3433 uses : shogo82148/actions-setup-perl@v1
3534 with :
3635 perl-version : ${{ matrix.perl-version }}
37- enable-modules-cache : false
3836 - name : " Create perl fingerprint file"
3937 run : perl -MConfig -wE 'say for sprintf("%vd", $^V), Config::bincompat_options' > perl-fingerprint
4038 - name : " Cache CPAN fragments"
5048 with :
5149 path : ${{ env.locallib }}
5250 key : xlocal-lib-${{ matrix.os }}-${{ hashFiles('perl-fingerprint', 'Makefile_PL_settings*.plx') }}
51+ - name : " Activate local lib directory"
52+ run : echo 'PERL5LIB=${{ github.workspace }}/${{ env.locallib }}/lib/perl5' >> $GITHUB_ENV
5353 - run : cpanm --mirror "file://${{ github.workspace }}/${{ env.cachepan }}" --mirror https://www.cpan.org/ --save-dist "${{ github.workspace }}/${{ env.cachepan }}" -l "${{ env.locallib }}" --notest ExtUtils::MakeMaker
5454 - run : cpanm --mirror "file://${{ github.workspace }}/${{ env.cachepan }}" --mirror https://www.cpan.org/ --save-dist "${{ github.workspace }}/${{ env.cachepan }}" -l "${{ env.locallib }}" --notest --installdeps --with-develop .
5555 - run : perl Makefile.PL
You can’t perform that action at this time.
0 commit comments