ci/prtasks: use install over mv
This commit is contained in:
parent
7594379488
commit
bee55887f0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue