mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-21 10:39:47 +08:00
Disable Progress Bar and Logs while using GitHub Actions
This commit is contained in:
parent
8f1d85cd39
commit
8e5e624a72
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user