mirror of https://github.com/llvm/torch-mlir
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
parent
9e52f6235b
commit
54c0a3a1e9
|
@ -10,7 +10,7 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Configure Environment
|
||||
run: echo "::add-path::$GITHUB_WORKSPACE/${LLVM}/install/bin"
|
||||
run: echo "$GITHUB_WORKSPACE/${LLVM}/install/bin" >> $GITHUB_PATH
|
||||
- name: Get npcomp
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
@ -45,7 +45,7 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Configure Environment
|
||||
run: echo "::add-path::$GITHUB_WORKSPACE/${LLVM}/install/bin"
|
||||
run: echo "$GITHUB_WORKSPACE/${LLVM}/install/bin" >> $GITHUB_PATH
|
||||
- name: Get npcomp
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue