Skip to content

Commit

Permalink
Issue #3617: pass '--installdeps .' to cpm
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Jul 20, 2024
1 parent 689e4e1 commit 5f48d75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cache_local_lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/code_policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 5f48d75

Please sign in to comment.