修复 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 - uses: actions/checkout@v6
- name: Setup JDK 21 - name: Setup JDK 21
uses: actions/setup-java@v4 run: |
with: sudo apt-get update -qq
java-version: '21' sudo apt-get install -y openjdk-21-jdk
distribution: 'temurin' java -version
- name: Setup Node.js - name: Setup Node.js 22
uses: actions/setup-node@v6 run: |
with: curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
node-version: 22 sudo apt-get install -y nodejs
node --version
# 动态生成中文版 capacitor.config.jsonwebDir 指向 zh/ 目录) # 动态生成中文版 capacitor.config.jsonwebDir 指向 zh/ 目录)
- name: Create capacitor.config.json (zh) - name: Create capacitor.config.json (zh)
@@ -99,15 +100,16 @@ jobs:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- name: Setup JDK 21 - name: Setup JDK 21
uses: actions/setup-java@v4 run: |
with: sudo apt-get update -qq
java-version: '21' sudo apt-get install -y openjdk-21-jdk
distribution: 'temurin' java -version
- name: Setup Node.js - name: Setup Node.js 22
uses: actions/setup-node@v6 run: |
with: curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
node-version: 22 sudo apt-get install -y nodejs
node --version
# 动态生成英文版 capacitor.config.jsonwebDir 指向 en/ 目录) # 动态生成英文版 capacitor.config.jsonwebDir 指向 en/ 目录)
- name: Create capacitor.config.json (en) - name: Create capacitor.config.json (en)