From: Philippe Antoine Date: Tue, 17 Nov 2020 08:48:29 +0000 (+0100) Subject: ci: updates github ci add-path mechanism X-Git-Tag: suricata-6.0.1~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfadd03b6fb2413209971e6f3c01fbf337d4bda3;p=thirdparty%2Fsuricata.git ci: updates github ci add-path mechanism --- 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