From: Charles McGarvey Date: Sat, 6 Aug 2022 19:31:58 +0000 (-0600) Subject: Fix dzil installation on macOS smoke test runner X-Git-Tag: v0.906~4 X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=e60d5469861f8c597bc9faf7daaccec7a32ddeb6;p=chaz%2Fp5-File-KDBX Fix dzil installation on macOS smoke test runner --- diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 98de96a..d324488 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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