From f82c6ec832c29a2337d6e496701fce80645f1d30 Mon Sep 17 00:00:00 2001 From: Bodo Hugo Barwich <42355798+bodo-hugo-barwich@users.noreply.github.com> Date: Thu, 12 Sep 2024 17:29:36 +0300 Subject: [PATCH] run version with perlbrew exec --- .github/workflows/perl_versions.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/perl_versions.yml b/.github/workflows/perl_versions.yml index be850ca..8494853 100644 --- a/.github/workflows/perl_versions.yml +++ b/.github/workflows/perl_versions.yml @@ -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: |