Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-05 15:22:31 +08:00
parent 9b145b525a
commit 0bcc1a7f12
10 changed files with 92 additions and 93 deletions

View File

@@ -78,31 +78,9 @@ jobs:
flutter-version-file: pubspec.yaml
cache: true
- name: revert new overscrollindicator
working-directory: ${{ env.FLUTTER_ROOT }}
# https://github.com/flutter/flutter/issues/182281
run: |
git config --global user.name "ci"
git config --global user.email "example@example.com"
git stash || true
git revert 362b1de29974ffc1ed6faa826e1df870d7bec75f --no-edit
git reset --soft HEAD~1
git stash pop || true
continue-on-error: true
- name: apply bottom sheet patch
working-directory: ${{ env.FLUTTER_ROOT }}
run: git apply $GITHUB_WORKSPACE/lib/scripts/bottom_sheet_patch.diff || true
continue-on-error: true
- name: apply modal barrier patch
working-directory: ${{ env.FLUTTER_ROOT }}
run: git apply $GITHUB_WORKSPACE/lib/scripts/modal_barrier_patch.diff || true
continue-on-error: true
- name: apply mouse cursor patch
working-directory: ${{ env.FLUTTER_ROOT }}
run: git apply $GITHUB_WORKSPACE/lib/scripts/mouse_cursor_patch.diff || true
- name: Apply Patch
shell: pwsh
run: lib/scripts/patch.ps1 android
continue-on-error: true
- name: Write key
@@ -120,10 +98,10 @@ jobs:
shell: pwsh
run: lib/scripts/build.ps1 android
- name: flutter build apk
- name: Flutter Build Apk
run: flutter build apk --release --split-per-abi --dart-define-from-file=pili_release.json --pub
- name: rename
- name: Rename
run: |
for file in build/app/outputs/flutter-apk/app-*-release.apk; do
abi=$(echo "$file" | sed -E 's|.*app-(.*)-release\.apk|\1|')