基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。
update workflow
Predidit1b3f398e5799
diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yamlnew file mode 100644index 00000000..26a3f9c5--- /dev/null+++ b/.github/workflows/pr.yaml@@ -0,0 +1,106 @@+---+ name: "PR workflow"++ on:+ pull_request:+ types: [opened, synchronize, reopened]++ jobs:+ flutter-build-android:+ name: "Release for android"+ runs-on: "ubuntu-latest"+ permissions: write-all+ steps:+ - name: Clone repository+ uses: actions/checkout@v4+ - name: Install dependencies+ run: |+ sudo apt-get update+ sudo apt-get install -y clang cmake libgtk-3-dev ninja-build libayatana-appindicator3-dev libasound2-dev+ shell: bash+ - name: Set up JDK 17+ uses: actions/setup-java@v3+ with:+ java-version: '17'+ distribution: 'temurin'+ - name: Set up Flutter+ uses: subosito/flutter-action@v2+ with:+ channel: stable+ flutter-version-file: pubspec.yaml+ - name: Get Flutter dependencies+ run: flutter pub get+ shell: bash+ - name: Build Flutter for Android+ run: flutter build apk --split-per-abi+ shell: bash+ - name: Package android build output+ run: cp build/app/outputs/flutter-apk/app-arm64-v8a-release.apk Kazumi_android_canary.apk+ shell: bash++ - name: Upload android outputs+ uses: actions/upload-artifact@v4+ with:+ name: android_outputs+ path: Kazumi_android_*.apk++ flutter-build-windows:+ name: "Release for windows"+ runs-on: "windows-latest"+ permissions: write-all++ steps:+ - name: Clone repository+ uses: actions/checkout@v4+ - run: choco install yq+ - name: Set up Flutter+ uses: subosito/flutter-action@v2+ with:+ channel: stable+ flutter-version-file: pubspec.yaml+ cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:" # optional, change this to force refresh cache+ cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:" # optional, change this to specify the cache path+ pub-cache-key: "flutter-pub:os:-:channel:-:version:-:arch:-:hash:" # optional, change this to force refresh cache of dart pub get dependencies+ pub-cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:" # optional, change this to specify the cache path+ - name: Set up Java+ uses: actions/setup-java@v4+ with:+ distribution: 'temurin'+ java-version: '18'+ - run: flutter pub get+ - run: flutter build windows+ - run: Compress-Archive build/windows/x64/runner/Release/* Kazumi_windows_canary.zip+ - name: Upload windows outputs+ uses: actions/upload-artifact@v4+ with:+ name: windows_outputs+ path: |+ Kazumi_windows_*.zip++ flutter-build-ios:+ name: "Release for iOS"+ runs-on: "macos-latest"+ permissions: write-all++ steps:+ - name: Clone repository+ uses: actions/checkout@v4+ - name: Set up Flutter+ uses: subosito/flutter-action@v2+ with:+ channel: stable+ flutter-version-file: pubspec.yaml+ - run: flutter pub get+ - name: Build IPA+ run: |+ flutter build ios --release --no-codesign+ - name: Create IPA+ run: |+ mkdir Payload+ cp -R build/ios/iphoneos/Runner.app Payload/Runner.app+ zip -q -r Kazumi_ios_canary_no_sign.ipa Payload+ - name: Upload iOS build+ uses: actions/upload-artifact@v4+ with:+ name: ios_outputs+ path: Kazumi_ios_*.ipa