Skip to content

Commit 8869027

Browse files
committed
update github workflow
Use newer perls, exclude 5.38 @ Windows
1 parent a235440 commit 8869027

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/dzil-build-and-test.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
- "5.34"
6868
- "5.36"
6969
- "5.38"
70+
- "5.40"
71+
- "5.42"
7072
exclude:
7173
- os: windows-latest
7274
perl-version: "5.10"
@@ -84,13 +86,21 @@ jobs:
8486
perl-version: "5.34"
8587
- os: windows-latest
8688
perl-version: "5.36"
89+
- os: windows-latest
90+
perl-version: "5.38"
8791
name: Perl ${{ matrix.perl-version }} on ${{ matrix.os }}
8892
steps:
89-
- name: Set Up Perl
93+
- name: Set Up Strawberry Perl
94+
uses: shogo82148/actions-setup-perl@v1
95+
with:
96+
perl-version: ${{ matrix.perl-version }}
97+
distribution: strawberry
98+
if: ${{ matrix.os == 'windows-latest' }}
99+
- name: Set Up Regular Perl
90100
uses: shogo82148/actions-setup-perl@v1
91101
with:
92102
perl-version: ${{ matrix.perl-version }}
93-
distribution: strawberry # this option only used on Windows
103+
if: ${{ matrix.os != 'windows-latest' }}
94104
- uses: actions/download-artifact@v5
95105
with:
96106
name: build_dir

0 commit comments

Comments
 (0)