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 95a3329cc5 - Show all commits
+6 -3
View File
3
@@ -116,9 +116,10 @@ jobs:
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}" >> "${GITHUB_ENV}"
echo "${ANDROID_HOME}/cmdline-tools/latest/bin" >> "${GITHUB_PATH}"
echo "${ANDROID_HOME}/platform-tools" >> "${GITHUB_PATH}"
# Gitea Actions: set env vars for subsequent steps in same job
echo "ANDROID_HOME=${ANDROID_HOME}" >> "$GITHUB_ENV" || echo "ANDROID_HOME=${ANDROID_HOME}" >> "$HOME/.env"
echo "${ANDROID_HOME}/cmdline-tools/latest/bin" >> "$GITHUB_PATH" || export PATH="${ANDROID_HOME}/cmdline-tools/latest/bin:${PATH}"
echo "${ANDROID_HOME}/platform-tools" >> "$GITHUB_PATH" || export PATH="${ANDROID_HOME}/platform-tools:${PATH}"
- name: Pre-cache Android platform artifacts
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.
@@ -188,6 +189,7 @@ jobs:
ls -lh build/app/outputs/bundle/release/ || true
- name: Upload APK artifact
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: android-apk
@@ -195,6 +197,7 @@ jobs:
retention-days: 90
- name: Upload AAB artifact
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: android-aab
1