Skip to content

Commit 52f5dbe

Browse files
committed
work around actions-setup-perl being weird (non-standard @inc)
1 parent a4d9f0d commit 52f5dbe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
env:
2727
cachepan: cachepan
28-
locallib: local
28+
locallib: cachelocal
2929

3030
steps:
3131
- uses: actions/checkout@v3
@@ -47,7 +47,7 @@ jobs:
4747
uses: actions/cache@v3
4848
with:
4949
path: ${{ env.locallib }}
50-
key: local-lib-${{ matrix.os }}-${{ hashFiles('perl-fingerprint', 'Makefile_PL_settings*.plx') }}
50+
key: xlocal-lib-${{ matrix.os }}-${{ hashFiles('perl-fingerprint', 'Makefile_PL_settings*.plx') }}
5151
- run: cpanm --mirror "file://${{ github.workspace }}/${{ env.cachepan }}" --mirror https://www.cpan.org/ --save-dist "${{ github.workspace }}/${{ env.cachepan }}" -l "${{ env.locallib }}" --notest ExtUtils::MakeMaker
5252
- run: cpanm --mirror "file://${{ github.workspace }}/${{ env.cachepan }}" --mirror https://www.cpan.org/ --save-dist "${{ github.workspace }}/${{ env.cachepan }}" -l "${{ env.locallib }}" --notest --installdeps --with-develop .
5353
- run: perl Makefile.PL

.github/workflows/run-tests.yml.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
env:
2727
cachepan: cachepan
28-
locallib: local
28+
locallib: cachelocal
2929

3030
steps:
3131
- uses: actions/checkout@v3
@@ -47,7 +47,7 @@ jobs:
4747
uses: actions/cache@v3
4848
with:
4949
path: ${{ env.locallib }}
50-
key: local-lib-${{ matrix.os }}-${{ hashFiles('perl-fingerprint', 'Makefile_PL_settings*.plx') }}
50+
key: xlocal-lib-${{ matrix.os }}-${{ hashFiles('perl-fingerprint', 'Makefile_PL_settings*.plx') }}
5151
- run: cpanm --mirror "file://${{ github.workspace }}/${{ env.cachepan }}" --mirror https://www.cpan.org/ --save-dist "${{ github.workspace }}/${{ env.cachepan }}" -l "${{ env.locallib }}" --notest ExtUtils::MakeMaker
5252
- run: cpanm --mirror "file://${{ github.workspace }}/${{ env.cachepan }}" --mirror https://www.cpan.org/ --save-dist "${{ github.workspace }}/${{ env.cachepan }}" -l "${{ env.locallib }}" --notest --installdeps --with-develop .
5353
- run: perl Makefile.PL

0 commit comments

Comments
 (0)