From dfadd03b6fb2413209971e6f3c01fbf337d4bda3 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Tue, 17 Nov 2020 09:48:29 +0100 Subject: [PATCH] ci: updates github ci add-path mechanism --- .github/workflows/commits.yml | 3 ++- .github/workflows/formatting.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml index 8e3cd6763c..7f3b1ca514 100644 --- a/.github/workflows/commits.yml +++ b/.github/workflows/commits.yml @@ -54,7 +54,8 @@ jobs: software-properties-common \ zlib1g \ zlib1g-dev - - run: echo "::add-path::$HOME/.cargo/bin:/usr/lib/ccache" + - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH + - run: echo "/usr/lib/ccache" >> $GITHUB_PATH - name: Install cbindgen run: cargo install cbindgen - run: echo $PATH diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 38bd8215e7..fbf29f665a 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -63,7 +63,7 @@ jobs: apt-get install -y clang-format-9 - name: Install cbindgen run: cargo install --force --debug --version 0.14.1 cbindgen - - run: echo "::add-path::$HOME/.cargo/bin" + - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH # Checking out the branch is not as simple as "checking out". # # In case master has any new commits since we branched off, github will -- 2.47.2