diff --git a/.github/workflows/glpi-agent-ci.yml b/.github/workflows/glpi-agent-ci.yml index 20ee81b09..e43924c6a 100644 --- a/.github/workflows/glpi-agent-ci.yml +++ b/.github/workflows/glpi-agent-ci.yml @@ -41,9 +41,9 @@ jobs: - uses: actions/checkout@v1 - name: Update environment run: | - echo '::add-path::C:\Strawberry\perl\bin' - echo '::add-path::C:\Strawberry\perl\site\bin' - echo '::add-path::C:\Strawberry\c\bin' + echo 'C:\Strawberry\perl\bin' >> $GITHUB_PATH + echo 'C:\Strawberry\perl\site\bin' >> $GITHUB_PATH + echo 'C:\Strawberry\c\bin' >> $GITHUB_PATH shell: bash - name: Check environment run: | @@ -81,7 +81,7 @@ jobs: - name: Update environment run: | PERL_VERSION=$(perl -MConfig -e 'print $Config{version}') - echo "::add-path::/usr/local/Cellar/perl/$PERL_VERSION/bin" + echo "/usr/local/Cellar/perl/$PERL_VERSION/bin" >> $GITHUB_PATH - name: Check environment run: | echo "PATH=$PATH"