From 989f23694a655c1cb2b9a40573e95ae1121c66f5 Mon Sep 17 00:00:00 2001 From: bernhard Date: Sat, 20 Jul 2024 12:16:36 +0200 Subject: [PATCH] Issue #3617: pass '--installdeps .' to cpm --- .github/workflows/cache_local_lib.yml | 5 +++-- .github/workflows/code_policy.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cache_local_lib.yml b/.github/workflows/cache_local_lib.yml index 4cd579bca..2e057ec1e 100644 --- a/.github/workflows/cache_local_lib.yml +++ b/.github/workflows/cache_local_lib.yml @@ -75,7 +75,7 @@ jobs: if: steps.cache_local_lib.outputs.cache-hit != 'true' run: apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install libxml2-utils libxslt-dev graphviz libqrencode-dev odbcinst1debian2 libodbc1 odbcinst unixodbc-dev unixodbc - - name: 'install App::perlimports from CPAN' + - name: 'install App::perlimports from CPAN with App::cpm' if: steps.cache_local_lib.outputs.cache-hit != 'true' uses: perl-actions/install-with-cpm@stable with: @@ -89,10 +89,11 @@ jobs: if: steps.cache_local_lib.outputs.cache-hit != 'true' run: cp cpanfile.docker.snapshot cpanfile.snapshot - - name: 'install Perl modules from CPAN' + - name: 'install Perl modules from CPAN with App::cpm' if: steps.cache_local_lib.outputs.cache-hit != 'true' uses: perl-actions/install-with-cpm@stable with: + args: "--installdeps ." global: false tests: false sudo: false diff --git a/.github/workflows/code_policy.yml b/.github/workflows/code_policy.yml index d26e3205f..bf625f216 100644 --- a/.github/workflows/code_policy.yml +++ b/.github/workflows/code_policy.yml @@ -63,7 +63,7 @@ jobs: # sudo apt install -y cpanminus # cpanm -l local --notest XML::LibXSLT || sh -xc 'cat ~/.cpanm/work/*/build.log' - - name: 'install App::perlimports from CPAN' + - name: 'install App::perlimports from CPAN with App::cpm' if: steps.cache_local_lib.outputs.cache-hit != 'true' uses: perl-actions/install-with-cpm@stable with: @@ -77,10 +77,11 @@ jobs: if: steps.cache_local_lib.outputs.cache-hit != 'true' run: cp cpanfile.docker.snapshot cpanfile.snapshot - - name: 'install Perl modules from CPAN' + - name: 'install Perl modules from CPAN with App::cpm' if: steps.cache_local_lib.outputs.cache-hit != 'true' uses: perl-actions/install-with-cpm@stable with: + args: "--installdeps ." global: false tests: false sudo: false