Skip to content

Commit

Permalink
build: fix deprecated add-path commands usage
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Dec 2, 2020
1 parent f79dde0 commit a9729f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/glpi-agent-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit a9729f7

Please sign in to comment.