File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,35 +13,26 @@ jobs:
1313 fail-fast : true
1414 matrix :
1515 perl-version :
16- - ' 5.32.0.1'
17- # - '5.30.3.1'
18- # - '5.28.2.1'
19- # - '5.26.3.1'
20- # - '5.24.4.1'
21- # - '5.22.3.1'
22- # - '5.20.3.3'
23- # - '5.18.4.1'
24- # - '5.16.3.1'
25- - ' 5.14.4.1'
16+ - ' 5.30'
17+ # - '5.28'
18+ # - '5.26'
19+ # - '5.24'
20+ # - '5.22'
21+ # - '5.20'
22+ # - '5.18'
23+ # - '5.16'
24+ - ' 5.14'
2625 steps :
26+ - name : Setup perl
27+ uses : shogo82148/actions-setup-perl@v1
28+ with :
29+ perl-version : ${{ matrix.perl-version }}
30+ distribution : strawberry
2731 - name : Set git to use LF
2832 run : |
2933 git config --global core.autocrlf false
3034 git config --global core.eol lf
3135 - uses : actions/checkout@v2
32- - name : Remove GH's Strawberry Perl and MinGW from Path
33- run : |
34- echo "::set-env name=PATH::$(($env:Path.split(";", [System.StringSplitOptions]::RemoveEmptyEntries) | where{-not ($_ -clike '*Strawberry*' -or $_ -clike '*mingw*')}) -join ';')"
35- - name : Add our new Strawberry Portable Perl Paths
36- run : |
37- Remove-Item C:\straw -Recurse -ErrorAction Ignore
38- mkdir C:\straw
39- echo "::add-path::C:\straw\c\bin;C:\straw\perl\site\bin;C:\straw\perl\bin"
40- echo $env:PATH
41- - name : Set up our new Strawberry Perl
42- run : |
43- Invoke-WebRequest -Uri https://strawberry.perl.bot/download/${{ matrix.perl-version }}/strawberry-perl-${{ matrix.perl-version }}-64bit-portable.zip -OutFile ${{matrix.perl-version}}.zip
44- 7z x "${{matrix.perl-version}}.zip" -oC:\straw
4536 - name : perl -V
4637 run : perl -V
4738 - name : Ensure old Strawberries have a good toolchain
You can’t perform that action at this time.
0 commit comments