Skip to content

Commit

Permalink
make gh install consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Mar 7, 2024
1 parent 58466bc commit 457e857
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ci-conda.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ rapids-mamba-retry install -y \
anaconda-client \
boa \
gettext \
gh \
git \
jq \
"python=${PYTHON_VERSION}.*=*_cpython"
conda clean -aipty
EOF

# Install sccache and gh cli
ARG SCCACHE_VER
ARG REAL_ARCH
ARG GH_CLI_VER=notset
Expand All @@ -125,6 +125,12 @@ curl -o /tmp/sccache.tar.gz \
tar -C /tmp -xvf /tmp/sccache.tar.gz
mv "/tmp/sccache-v${SCCACHE_VER}-"${REAL_ARCH}"-unknown-linux-musl/sccache" /usr/bin/sccache
chmod +x /usr/bin/sccache

set -e
wget https://github.com/cli/cli/releases/download/v${GH_CLI_VER}/gh_${GH_CLI_VER}_linux_${CPU_ARCH}.tar.gz
tar -xf gh_*.tar.gz
mv gh_*/bin/gh /usr/local/bin
rm -rf gh_*
EOF

# Install codecov binary
Expand Down

0 comments on commit 457e857

Please sign in to comment.