]> Dogcows Code - chaz/p5-File-KDBX/commitdiff
Fix dzil installation on macOS smoke test runner
authorCharles McGarvey <ccm@cpan.org>
Sat, 6 Aug 2022 19:31:58 +0000 (13:31 -0600)
committerCharles McGarvey <ccm@cpan.org>
Sat, 6 Aug 2022 20:13:45 +0000 (14:13 -0600)
.github/workflows/macos.yml

index 98de96a28d67d23045088288bdd42ba72c71dbeb..d32448870c64cad4438b6307f48af90b3ade83c7 100644 (file)
@@ -18,7 +18,13 @@ jobs:
       - name: Print perl version
         run: perl -V
       - name: Install dzil
-        run: cpanm -n Dist::Zilla
+        run: |
+          cpanm -n -l$HOME/perl5 local::lib Dist::Zilla
+          echo "$HOME/perl5/bin" >>$GITHUB_PATH
+          echo "PERL5LIB=$HOME/perl5/lib/perl5" >>$GITHUB_ENV
+          echo "PERL_LOCAL_LIB_ROOT=$HOME/perl5:$PERL_LOCAL_LIB_ROOT" >>$GITHUB_ENV
+          echo "PERL_MB_OPT=--install_base $HOME/perl5" >>$GITHUB_ENV
+          echo "PERL_MM_OPT=INSTALL_BASE=$HOME/perl5" >>$GITHUB_ENV
       - name: Checkout code
         uses: actions/checkout@v3
       - name: Install author dependencies
This page took 0.025429 seconds and 4 git commands to generate.