Replace deprecated add-path in GitHub Action

The add-path command is deprecated and should be replaced as stated in
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
pull/89/head
Marius Brehler 2020-10-16 12:21:36 +00:00 committed by Stella Laurenzo
parent 9e52f6235b
commit 54c0a3a1e9
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Configure Environment - name: Configure Environment
run: echo "::add-path::$GITHUB_WORKSPACE/${LLVM}/install/bin" run: echo "$GITHUB_WORKSPACE/${LLVM}/install/bin" >> $GITHUB_PATH
- name: Get npcomp - name: Get npcomp
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Configure Environment - name: Configure Environment
run: echo "::add-path::$GITHUB_WORKSPACE/${LLVM}/install/bin" run: echo "$GITHUB_WORKSPACE/${LLVM}/install/bin" >> $GITHUB_PATH
- name: Get npcomp - name: Get npcomp
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with: