mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-28 14:25:55 +08:00
32
.github/workflows/build.yml
vendored
32
.github/workflows/build.yml
vendored
@@ -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|')
|
||||
|
||||
11
.github/workflows/ios.yml
vendored
11
.github/workflows/ios.yml
vendored
@@ -30,14 +30,9 @@ jobs:
|
||||
shell: pwsh
|
||||
run: lib/scripts/build.ps1
|
||||
|
||||
- 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 iOS
|
||||
continue-on-error: true
|
||||
|
||||
- name: Build iOS
|
||||
|
||||
22
.github/workflows/linux_x64.yml
vendored
22
.github/workflows/linux_x64.yml
vendored
@@ -51,25 +51,9 @@ jobs:
|
||||
shell: pwsh
|
||||
run: lib/scripts/build.ps1
|
||||
|
||||
- name: pick tooltip fix
|
||||
working-directory: ${{ env.FLUTTER_ROOT }}
|
||||
run: |
|
||||
git config --global user.name "ci"
|
||||
git config --global user.email "example@example.com"
|
||||
git stash || true
|
||||
git cherry-pick 56956c33ef102ac0b5fc46b62bd2dd9f50a86616 --no-edit
|
||||
git reset --soft HEAD~1
|
||||
git stash pop || 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 Linux
|
||||
continue-on-error: true
|
||||
|
||||
#TODO: deb and rpm packages need to be build
|
||||
|
||||
22
.github/workflows/mac.yml
vendored
22
.github/workflows/mac.yml
vendored
@@ -30,25 +30,9 @@ jobs:
|
||||
shell: pwsh
|
||||
run: lib/scripts/build.ps1
|
||||
|
||||
- name: pick tooltip fix
|
||||
working-directory: ${{ env.FLUTTER_ROOT }}
|
||||
run: |
|
||||
git config --global user.name "ci"
|
||||
git config --global user.email "example@example.com"
|
||||
git stash || true
|
||||
git cherry-pick 56956c33ef102ac0b5fc46b62bd2dd9f50a86616 --no-edit
|
||||
git reset --soft HEAD~1
|
||||
git stash pop || 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 macOS
|
||||
continue-on-error: true
|
||||
|
||||
- name: Build Mac
|
||||
|
||||
22
.github/workflows/win_x64.yml
vendored
22
.github/workflows/win_x64.yml
vendored
@@ -26,27 +26,9 @@ jobs:
|
||||
channel: stable
|
||||
flutter-version-file: pubspec.yaml
|
||||
|
||||
- name: pick tooltip fix
|
||||
working-directory: ${{ env.FLUTTER_ROOT }}
|
||||
run: |
|
||||
git config --global user.name "ci"
|
||||
git config --global user.email "example@example.com"
|
||||
git stash || true
|
||||
git cherry-pick 56956c33ef102ac0b5fc46b62bd2dd9f50a86616 --no-edit
|
||||
git reset --soft HEAD~1
|
||||
git stash pop || true
|
||||
continue-on-error: true
|
||||
|
||||
- name: apply modal barrier patch
|
||||
working-directory: ${{ env.FLUTTER_ROOT }}
|
||||
run: git apply $env:GITHUB_WORKSPACE\lib\scripts\modal_barrier_patch.diff || true
|
||||
shell: pwsh
|
||||
continue-on-error: true
|
||||
|
||||
- name: apply mouse cursor patch
|
||||
working-directory: ${{ env.FLUTTER_ROOT }}
|
||||
run: git apply $env:GITHUB_WORKSPACE\lib\scripts\mouse_cursor_patch.diff || true
|
||||
- name: Apply Patch
|
||||
shell: pwsh
|
||||
run: lib/scripts/patch.ps1 windows
|
||||
continue-on-error: true
|
||||
|
||||
- name: Add fastforge and Inno Setup
|
||||
|
||||
Reference in New Issue
Block a user