From 262453fcb097a13501035e08d2b8f22140e344e4 Mon Sep 17 00:00:00 2001 From: Guillaume Bougard Date: Tue, 21 Jan 2020 15:42:06 +0100 Subject: [PATCH] test: fix macos action environment --- .github/workflows/glpi-agent-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/glpi-agent-ci.yml b/.github/workflows/glpi-agent-ci.yml index 1033dcca4..20ee81b09 100644 --- a/.github/workflows/glpi-agent-ci.yml +++ b/.github/workflows/glpi-agent-ci.yml @@ -80,7 +80,8 @@ jobs: - uses: actions/checkout@v1 - name: Update environment run: | - echo '::add-path::/usr/local/Cellar/perl/5.30.0/bin' + PERL_VERSION=$(perl -MConfig -e 'print $Config{version}') + echo "::add-path::/usr/local/Cellar/perl/$PERL_VERSION/bin" - name: Check environment run: | echo "PATH=$PATH"