Tried new build workflow
Some checks failed
Pull Request Pipeline / test (pull_request) Waiting to run
Pull Request Pipeline / lint (pull_request) Has been skipped
Pull Request Pipeline / build-android (pull_request) Failing after 2m10s

This commit is contained in:
2026-01-23 14:06:31 +01:00
parent 3ad8e3b558
commit 8a3e4271b9

View File

@@ -12,7 +12,12 @@ jobs:
uses: actions/checkout@v4
- name: Set up JDK
run: sudo apt-get update && sudo apt-get install -y openjdk-11-jdk
run: |
if command -v sudo >/dev/null 2>&1; then
sudo apt-get update && sudo apt-get install -y openjdk-11-jdk
else
apt-get update && apt-get install -y openjdk-11-jdk
fi
- name: Install Flutter (wget)
run: |
@@ -24,7 +29,11 @@ jobs:
- name: Install Android SDK command-line tools and components
run: |
export ANDROID_SDK_ROOT="$HOME/android-sdk"
if command -v sudo >/dev/null 2>&1; then
sudo apt-get update && sudo apt-get install -y unzip
else
apt-get update && apt-get install -y unzip
fi
mkdir -p $ANDROID_SDK_ROOT/cmdline-tools
cd $ANDROID_SDK_ROOT
wget https://dl.google.com/android/repository/commandlinetools-linux_latest.zip -O cmdline-tools.zip
@@ -55,7 +64,7 @@ jobs:
lint:
runs-on: ubuntu-latest
if: false
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -77,7 +86,7 @@ jobs:
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /toolcache
if: f
steps:
- name: Checkout code
uses: actions/checkout@v4