diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f988afb..ead5d62 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -216,13 +216,23 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Check macOS platform + run: | + OS=$(uname -s) + echo "Detected OS: $OS" + if [ "$OS" != "Darwin" ]; then + echo "SKIPPED: iOS build requires macOS (Darwin). Detected $OS." + echo "To enable iOS builds, register a macOS runner with the 'macos' label." + exit 0 + fi + - name: Setup Java 17 run: | set -e brew install openjdk@17 || true export JAVA_HOME=" /opt/homebrew/Cellar/openjdk@17/17.0.20" export PATH="$JAVA_HOME/bin:$PATH" - java -version + java -version || true - name: Setup Flutter run: |