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
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:
@@ -15,13 +15,13 @@ jobs:
|
|||||||
build-android-debug:
|
build-android-debug:
|
||||||
name: Build Android Debug APK
|
name: Build Android Debug APK
|
||||||
runs-on: ubuntu
|
runs-on: ubuntu
|
||||||
container:
|
|
||||||
image: node:20-bullseye
|
|
||||||
options: --user root
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Git LFS
|
- name: Install dependencies
|
||||||
run: apt-get update && apt-get install -y git-lfs
|
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
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -34,18 +34,6 @@ jobs:
|
|||||||
git lfs install
|
git lfs install
|
||||||
git lfs pull
|
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'
|
|
||||||
|
|
||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
uses: android-actions/setup-android@v3
|
uses: android-actions/setup-android@v3
|
||||||
|
|
||||||
|
|||||||
@@ -49,13 +49,13 @@ jobs:
|
|||||||
name: Build Android APK
|
name: Build Android APK
|
||||||
runs-on: ubuntu
|
runs-on: ubuntu
|
||||||
if: ${{ github.event.inputs.build_android != 'false' }}
|
if: ${{ github.event.inputs.build_android != 'false' }}
|
||||||
container:
|
|
||||||
image: node:20-bullseye
|
|
||||||
options: --user root
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Git LFS
|
- name: Install dependencies
|
||||||
run: apt-get update && apt-get install -y git-lfs
|
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
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -68,19 +68,6 @@ jobs:
|
|||||||
git lfs install
|
git lfs install
|
||||||
git lfs pull
|
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
|
- name: Setup Android SDK
|
||||||
uses: android-actions/setup-android@v3
|
uses: android-actions/setup-android@v3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user