From 6bc0a7fecaaaba118f782ac2ffb9dd528987ac8d Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 28 Mar 2025 07:56:46 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0.gitlab-ci.yml=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5e83a1..64a4805 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,8 @@ job_install: stage: install before_script: - echo '安装依赖' - - apt-get update && apt-get install -y npm # Add npm installation + - sudo apt-get update -y || true + - sudo apt-get install -y --no-install-recommends npm # Add sudo script: - cd Assets/02.InformationSave - echo " registry=http://192.168.31.100:8418/api/packages/unity-registry/npm" > .npmrc