From e60d5469861f8c597bc9faf7daaccec7a32ddeb6 Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Sat, 6 Aug 2022 13:31:58 -0600 Subject: [PATCH] Fix dzil installation on macOS smoke test runner --- .github/workflows/macos.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.45.2