Fix: Remove container, install JDK/Go directly via apt-get on ubuntu runner
Build Debug / Build Android Debug APK (push) Failing after 2s
Build UUVPN / Build Android APK (push) Failing after 1s
Build UUVPN / Cleanup old artifacts (push) Failing after 0s
Build Debug / Build iOS Debug App (push) Has been cancelled
Build UUVPN / Build iOS IPA (push) Has been cancelled
Build UUVPN / Create GitHub Release (push) Has been cancelled
Build UUVPN / Upload to TestFlight (push) Has been cancelled
Build UUVPN / Send Notification (push) Has been cancelled

This commit is contained in:
2026-07-03 19:07:16 +08:00
parent 5e3a8f70f7
commit 9d266f282c
2 changed files with 10 additions and 35 deletions
+5 -18
View File
@@ -49,13 +49,13 @@ jobs:
name: Build Android APK
runs-on: ubuntu
if: ${{ github.event.inputs.build_android != 'false' }}
container:
image: node:20-bullseye
options: --user root
steps:
- name: Install Git LFS
run: apt-get update && apt-get install -y git-lfs
- name: Install dependencies
run: |
apt-get update
apt-get install -y openjdk-17-jdk git-lfs golang-go
echo "JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v4
@@ -68,19 +68,6 @@ jobs:
git lfs install
git lfs pull
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: true
- name: Setup Android SDK
uses: android-actions/setup-android@v3