From a9729f7ffb6d8dfbffadd4f4c8b53df6d6e87d82 Mon Sep 17 00:00:00 2001 From: Guillaume Bougard Date: Wed, 2 Dec 2020 15:10:47 +0100 Subject: [PATCH] build: fix deprecated add-path commands usage --- .github/workflows/glpi-agent-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"