Skip to content

Commit 1b4db2b

Browse files
committed
Choose Perl distribution for tests based on OS
1 parent b464344 commit 1b4db2b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/build_and_test.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,9 @@ jobs:
161161
os:
162162
- ubuntu
163163
- macos
164+
- windows
164165
perl:
165166
- latest
166-
distribution:
167-
- default
168-
include:
169-
- os: windows
170-
perl: latest
171-
distribution: strawberry
172167

173168
runs-on: ${{ matrix.os }}-latest
174169

@@ -184,7 +179,7 @@ jobs:
184179
uses: shogo82148/actions-setup-perl@v1
185180
with:
186181
perl-version: ${{ matrix.perl }}
187-
distribution: ${{ matrix.distribution }}
182+
distribution: ${{ matrix.os == 'windows' && 'strawberry' || 'default' }}
188183
- name: Install dependencies
189184
uses: knicknic/[email protected]
190185
with:

0 commit comments

Comments
 (0)