ci/prtasks: use install over mv

This commit is contained in:
Paul Stemmet 2021-06-02 14:51:54 +00:00
parent 7594379488
commit bee55887f0
Signed by: Paul Stemmet
GPG Key ID: EDEA539F594E7E75
1 changed files with 1 additions and 2 deletions

View File

@ -45,9 +45,8 @@ jobs:
SCCACHE_VERSION: v0.2.15
run: |
SCCACHE_FILE=sccache-$SCCACHE_VERSION-x86_64-unknown-linux-musl
mkdir -p "$HOME/.local/bin"
curl -sSL "$SCCACHE_URL/$SCCACHE_VERSION/$SCCACHE_FILE.tar.gz" | tar xz
mv -f "$SCCACHE_FILE/sccache" "$HOME/.local/bin/sccache"
install -vDm 755 "$SCCACHE_FILE/sccache" "$HOME/.local/bin/sccache"
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
# Install Rust toolchain