From 29021df1dcfbaac86058d51ddef8f9ff00f5d8af Mon Sep 17 00:00:00 2001 From: yuming Date: Sun, 17 May 2026 13:13:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E5=8E=BB=E6=8E=89?= =?UTF-8?q?=20sudo=EF=BC=8C=E5=AE=B9=E5=99=A8=E5=86=85=E5=B7=B2=E6=98=AF?= =?UTF-8?q?=20root=20=E7=94=A8=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf02f14..14e70ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,14 +31,14 @@ jobs: - name: Setup JDK 21 run: | - sudo apt-get update -qq - sudo apt-get install -y openjdk-21-jdk + apt-get update -qq + apt-get install -y openjdk-21-jdk java -version - name: Setup Node.js 22 run: | - curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - - sudo apt-get install -y nodejs + curl -fsSL https://deb.nodesource.com/setup_22.x | bash - + apt-get install -y nodejs node --version # 动态生成中文版 capacitor.config.json(webDir 指向 zh/ 目录) @@ -101,14 +101,14 @@ jobs: - name: Setup JDK 21 run: | - sudo apt-get update -qq - sudo apt-get install -y openjdk-21-jdk + apt-get update -qq + apt-get install -y openjdk-21-jdk java -version - name: Setup Node.js 22 run: | - curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - - sudo apt-get install -y nodejs + curl -fsSL https://deb.nodesource.com/setup_22.x | bash - + apt-get install -y nodejs node --version # 动态生成英文版 capacitor.config.json(webDir 指向 en/ 目录)