flutter fixes and pipeline speedup
Some checks failed
Release / meta (push) Successful in 20s
Release / linux-build (push) Successful in 36m32s
Release / release-dev (push) Has been cancelled
Release / release-master (push) Has been cancelled
Release / android-build (push) Has been cancelled

This commit is contained in:
2025-12-14 11:20:39 +00:00
parent eb01cf0e8e
commit a2b38a7aec
5 changed files with 173 additions and 104 deletions

View File

@@ -52,6 +52,14 @@ jobs:
distribution: temurin
java-version: ${{ env.JAVA_VERSION }}
- name: Cache Android SDK
uses: actions/cache@v3
with:
path: ${{ env.ANDROID_SDK_ROOT }}
key: android-sdk-${{ runner.os }}-java${{ env.JAVA_VERSION }}-platform33-buildtools33.0.2
restore-keys: |
android-sdk-${{ runner.os }}-java${{ env.JAVA_VERSION }}-
- name: Install Android SDK
run: |
mkdir -p "$ANDROID_SDK_ROOT"/cmdline-tools
@@ -74,10 +82,29 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: ${{ env.FLUTTER_CHANNEL }}
cache: true
- name: Allow all git directories (CI)
run: git config --global --add safe.directory '*'
- name: Cache pub packages
uses: actions/cache@v3
with:
path: ~/.pub-cache
key: flutter-pub-${{ runner.os }}-${{ hashFiles('pubspec.lock') }}
restore-keys: |
flutter-pub-${{ runner.os }}-
- name: Cache Gradle
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('android/**/*.gradle*', 'android/**/*.properties') }}
restore-keys: |
gradle-${{ runner.os }}-
- name: Flutter dependencies
run: flutter pub get
@@ -160,10 +187,19 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: ${{ env.FLUTTER_CHANNEL }}
cache: true
- name: Allow all git directories (CI)
run: git config --global --add safe.directory '*'
- name: Cache pub packages
uses: actions/cache@v3
with:
path: ~/.pub-cache
key: flutter-pub-${{ runner.os }}-${{ hashFiles('pubspec.lock') }}
restore-keys: |
flutter-pub-${{ runner.os }}-
- name: Flutter dependencies
run: flutter pub get