Disable Progress Bar and Logs while using GitHub Actions

This commit is contained in:
XXXXRT666 2025-04-30 21:15:33 +01:00
parent 8f1d85cd39
commit 8e5e624a72
2 changed files with 5 additions and 4 deletions

View File

@ -12,9 +12,9 @@ WORKFLOW=${WORKFLOW:-"false"}
TARGETPLATFORM=${TARGETPLATFORM:-"linux/amd64"} TARGETPLATFORM=${TARGETPLATFORM:-"linux/amd64"}
if [ "$WORKFLOW" = "true" ]; then if [ "$WORKFLOW" = "true" ]; then
WGET_CMD="wget --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404"
else
WGET_CMD="wget -nv --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404" WGET_CMD="wget -nv --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404"
else
WGET_CMD="wget --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404"
fi fi
if [ "$TARGETPLATFORM" = "linux/amd64" ]; then if [ "$TARGETPLATFORM" = "linux/amd64" ]; then

View File

@ -10,7 +10,8 @@ ARG CUDA_VERSION=12.4
ENV CUDA_VERSION=${CUDA_VERSION} ENV CUDA_VERSION=${CUDA_VERSION}
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
apt-get install -y -q --no-install-recommends \
build-essential \ build-essential \
gcc \ gcc \
g++ \ g++ \
@ -37,7 +38,7 @@ ENV WORKFLOW=${WORKFLOW}
ARG TARGETPLATFORM=linux/amd64 ARG TARGETPLATFORM=linux/amd64
ENV TARGETPLATFORM=${TARGETPLATFORM} ENV TARGETPLATFORM=${TARGETPLATFORM}
RUN echo "${TARGETPLATFORM}" RUN echo "${TARGETPLATFORM}" && echo ${WORKFLOW}
RUN bash Docker/anaconda_install.sh RUN bash Docker/anaconda_install.sh