diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c424c91..0f56e4f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,8 +7,10 @@ # x86_64 Linux Docker containers, so we use Linux SDK binaries. # # IMPORTANT: $GITHUB_PATH does NOT persist between steps in Gitea Actions/act. -# Each step is a separate shell. We install Flutter to a workspace subdirectory -# and export a shell variable so every step has Flutter on PATH. +# Each step is a separate shell. We export PATH="$PWD/flutter/bin:$PATH" in +# every step that uses flutter/dart commands. +# +# Flutter 3.44.0 ships Dart 3.12.0, satisfying pubspec sdk: ^3.11.5 constraint. name: CI @@ -38,23 +40,11 @@ jobs: - name: Setup Flutter run: | set -e - echo "=== Diagnosing environment ===" - echo "ARCH: $(uname -m)" - echo "PWD: $PWD" - echo "DF: $(df -h / | tail -1)" - echo "DISK FREE: $(du -sh /tmp/ 2>/dev/null || echo unknown)" - echo "=== Downloading Flutter SDK ===" - curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.35.3-stable.tar.xz" \ + curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.44.0-stable.tar.xz" \ -o /tmp/flutter.tar.xz - echo "Download complete, size: $(du -h /tmp/flutter.tar.xz | cut -f1)" - echo "=== Extracting ===" tar -xf /tmp/flutter.tar.xz -C "$PWD" - echo "Extraction complete" - ls -la flutter/bin/flutter - echo "=== Testing Flutter binary ===" - file flutter/bin/flutter || true - flutter/bin/flutter --version || echo "FLUTTER FAILED" || true - echo "=== Flutter version output ===" + export PATH="$PWD/flutter/bin:$PATH" + flutter --version - name: Install dependencies run: | @@ -90,7 +80,7 @@ jobs: - name: Setup Flutter run: | set -e - curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.35.3-stable.tar.xz" \ + curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.44.0-stable.tar.xz" \ -o /tmp/flutter.tar.xz tar -xf /tmp/flutter.tar.xz -C "$PWD" export PATH="$PWD/flutter/bin:$PATH" @@ -135,7 +125,7 @@ jobs: - name: Setup Flutter run: | set -e - curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.35.3-stable.tar.xz" \ + curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.44.0-stable.tar.xz" \ -o /tmp/flutter.tar.xz tar -xf /tmp/flutter.tar.xz -C "$PWD" export PATH="$PWD/flutter/bin:$PATH"