ci: updates github ci add-path mechanism

pull/5575/head
Philippe Antoine 4 years ago committed by Victor Julien
parent ac37fd5e29
commit dfadd03b6f

@ -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

@ -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

Loading…
Cancel
Save