From 54c0a3a1e9a5451b54c8e651c8d7e3142521a7d2 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Fri, 16 Oct 2020 12:21:36 +0000 Subject: [PATCH] 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/ --- .github/workflows/buildAndTest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildAndTest.yml b/.github/workflows/buildAndTest.yml index a50d4d7f3..3695b27c8 100644 --- a/.github/workflows/buildAndTest.yml +++ b/.github/workflows/buildAndTest.yml @@ -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: