Skip to content

Commit

Permalink
run version with perlbrew exec
Browse files Browse the repository at this point in the history
  • Loading branch information
bodo-hugo-barwich authored Sep 12, 2024
1 parent 555862e commit f82c6ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/perl_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ jobs:
perl-build ${{ steps.perl_full_version.outputs.version }} ~/perl5/perlbrew/perls/perl-${{ steps.perl_full_version.outputs.version }}
echo "perlbrew - Installed Versions:"
perlbrew list
echo "perlbrew - Switch to Perl Version '${{ steps.perl_full_version.outputs.version }}' ..."
perlbrew switch perl-${{ steps.perl_full_version.outputs.version }} && perl -v && perl -e 'print "perl ($] / $^V)\n"'
echo "perlbrew - Exec with Perl Version '${{ steps.perl_full_version.outputs.version }}' ..."
perlbrew exec -q --with perl-${{ steps.perl_full_version.outputs.version }} perl -e 'print "perl ($] / $^V)\n"'
echo "perlbrew - Active Perl Version:"
perl -v && perl -MConfig -e 'print "perl ($]) '$^V' path: $Config{perlpath}\n"'
perl -v && perl -MConfig -e 'print "perl ($] / $^V) path: $Config{perlpath}\n"'
- name: Run the Test Suite
run: |
Expand Down

0 comments on commit f82c6ec

Please # to comment.