修复 Runner 构建:改用 apt 安装 JDK 和 Node.js,避免从 GitHub 下载超时
Android APK 构建 / Build EmbyX-zh APK (push) Failing after 5s
Android APK 构建 / Build EmbyX-en APK (push) Failing after 4s
Android APK 构建 / Create GitHub Release (push) Has been skipped

This commit is contained in:
yuming
2026-05-16 20:07:06 +08:00
parent 49cf1e90f5
commit 6548e193dc
+18 -16
View File
@@ -30,15 +30,16 @@ jobs:
- uses: actions/checkout@v6
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
run: |
sudo apt-get update -qq
sudo apt-get install -y openjdk-21-jdk
java -version
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22
- name: Setup Node.js 22
run: |
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
node --version
# 动态生成中文版 capacitor.config.jsonwebDir 指向 zh/ 目录)
- name: Create capacitor.config.json (zh)
@@ -99,15 +100,16 @@ jobs:
- uses: actions/checkout@v6
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
run: |
sudo apt-get update -qq
sudo apt-get install -y openjdk-21-jdk
java -version
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22
- name: Setup Node.js 22
run: |
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
node --version
# 动态生成英文版 capacitor.config.jsonwebDir 指向 en/ 目录)
- name: Create capacitor.config.json (en)