CI/CD Pipeline Integration: iOS + Android stages with Gitea-native syntax #11

Merged
kfj001 merged 64 commits from ci/pipeline-integration into main 2026-08-03 20:16:03 -07:00
Showing only changes of commit 3d38ae6453 - Show all commits
+14
View File
2
@@ -106,6 +106,20 @@ jobs:
flutter-version: ${{ env.FLUTTER_VERSION }} flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true cache: true
Outdated
Review

versioning....

versioning....
- name: Install Android SDK command-line tools
run: |
export ANDROID_HOME="${HOME}/android-sdk"
mkdir -p "${ANDROID_HOME}/cmdline-tools"
curl -fsSL "https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip" -o cmdline-tools.zip
unzip -q cmdline-tools.zip -d "${ANDROID_HOME}/cmdline-tools"
mv "${ANDROID_HOME}/cmdline-tools/cmdline-tools" "${ANDROID_HOME}/cmdline-tools/latest"
export PATH="${ANDROID_HOME}/cmdline-tools/latest/bin:${PATH}"
yes | sdkmanager --licenses >/dev/null 2>&1 || true
sdkmanager "platform-tools" "platforms;android-35" "build-tools;35.0.0"
echo "ANDROID_HOME=${ANDROID_HOME}" >> "${GITEA_ENV_FILE}"
echo "${ANDROID_HOME}/cmdline-tools/latest/bin" >> "${GITEA_PATH_FILE}"
echo "${ANDROID_HOME}/platform-tools" >> "${GITEA_PATH_FILE}"
- name: Pre-cache Android platform artifacts - name: Pre-cache Android platform artifacts
run: flutter precache --android run: flutter precache --android
Outdated
Review

This is a ubuntu based image. Let's use apt to install the openjdk-17-jdk package.

This is a ubuntu based image. Let's use `apt` to install the `openjdk-17-jdk` package.
1