mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-03-11 17:25:32 +00:00
+
This commit is contained in:
parent
28b3f8b0a5
commit
6c4e2eaeee
4 changed files with 26 additions and 18 deletions
30
.github/workflows/release.yml
vendored
30
.github/workflows/release.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
steps:
|
||||
|
||||
- name: checkout branch
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: setup flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Setup Java toolchain (Only Android target)
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: "temurin"
|
||||
java-version: "17"
|
||||
|
|
@ -56,7 +56,7 @@ jobs:
|
|||
mv app-x86_64-release.apk Mangayomi-${{ github.ref_name }}-android-x86_64.apk
|
||||
|
||||
- name: upload artifact android apks
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: "build/app/outputs/flutter-apk/Mangayomi-*.apk"
|
||||
|
||||
|
|
@ -74,7 +74,7 @@ jobs:
|
|||
steps:
|
||||
# Checkout branch
|
||||
- name: checkout branch
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: setup flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
|
|
@ -104,7 +104,7 @@ jobs:
|
|||
mv app-release.ipa Mangayomi-${{ github.ref_name }}-ios.ipa
|
||||
|
||||
- name: upload artifact ios ipa
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: "build/ios/iphoneos/Mangayomi-*.ipa"
|
||||
|
||||
|
|
@ -121,7 +121,7 @@ jobs:
|
|||
steps:
|
||||
|
||||
- name: checkout branch
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: setup flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
|
|
@ -149,7 +149,7 @@ jobs:
|
|||
create-dmg --volname Mangayomi-${{ github.ref_name }}-macos --window-pos 200 120 --window-size 800 450 --icon-size 100 --app-drop-link 600 185 Mangayomi-${{ github.ref_name }}-macos.dmg build/macos/Build/Products/Release/Mangayomi.app
|
||||
|
||||
- name: upload artifact macos dmg
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: "/Users/runner/work/mangayomi/mangayomi/*.dmg"
|
||||
|
||||
|
|
@ -167,7 +167,7 @@ jobs:
|
|||
# steps:
|
||||
|
||||
# - name: checkout branch
|
||||
# uses: actions/checkout@v3
|
||||
# uses: actions/checkout@v4
|
||||
|
||||
# - name: setup flutter
|
||||
# uses: subosito/flutter-action@v2
|
||||
|
|
@ -198,7 +198,7 @@ jobs:
|
|||
# Compress-Archive $DestDir build\windows\Mangayomi-${{ github.ref_name }}-windows.zip
|
||||
|
||||
# - name: upload artifact windows zip
|
||||
# uses: actions/upload-artifact@v3
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# path: build\windows\Mangayomi-*.zip
|
||||
|
||||
|
|
@ -216,7 +216,7 @@ jobs:
|
|||
steps:
|
||||
|
||||
- name: checkout branch
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
|
@ -249,7 +249,7 @@ jobs:
|
|||
directory: build/linux/x64/release/bundle
|
||||
|
||||
- name: upload artifact linux zip
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: build/linux/x64/release/bundle/Mangayomi-*.zip
|
||||
- name: release packages linux zip
|
||||
|
|
@ -266,7 +266,7 @@ jobs:
|
|||
steps:
|
||||
|
||||
- name: checkout branch
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
|
@ -309,7 +309,7 @@ jobs:
|
|||
mv *.AppImage build/Mangayomi-${{ github.ref_name }}-linux_libmpv_so.AppImage
|
||||
|
||||
- name: upload artifact linux appimage
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: build/Mangayomi-*.AppImage
|
||||
- name: Rrelease packages appimage
|
||||
|
|
@ -325,7 +325,7 @@ jobs:
|
|||
steps:
|
||||
|
||||
- name: checkout branch
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
|
@ -365,7 +365,7 @@ jobs:
|
|||
mv *.AppImage build/Mangayomi-${{ github.ref_name }}-linux_libmpv_so_1.AppImage
|
||||
|
||||
- name: upload artifact linux appimage
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: build/Mangayomi-*.AppImage
|
||||
- name: Rrelease packages appimage
|
||||
|
|
|
|||
8
lib/utils/extensions/stream.dart
Normal file
8
lib/utils/extensions/stream.dart
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
extension StreamBuilderExtension<T> on Stream<T> {
|
||||
StreamBuilder<T> toStreamBuilder(
|
||||
Widget Function(BuildContext, AsyncSnapshot<T>) builder) {
|
||||
return StreamBuilder(stream: this, builder: builder);
|
||||
}
|
||||
}
|
||||
|
|
@ -1220,10 +1220,10 @@ packages:
|
|||
dependency: "direct main"
|
||||
description:
|
||||
name: rhttp
|
||||
sha256: "714efd6d85405fcf7da20d9a4ccf03939ab043d528cae1be75c44a1c92ade08c"
|
||||
sha256: b07ed2da1f9ee3a18fd1505428a597e6ed3e3ec08ddd99ff3c6e7597887fc3db
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.6.0"
|
||||
version: "0.7.0"
|
||||
riverpod:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ dependencies:
|
|||
rust_lib_mangayomi:
|
||||
path: rust_builder
|
||||
pseudom: ^1.0.1
|
||||
rhttp: ^0.6.0
|
||||
rhttp: ^0.7.0
|
||||
|
||||
dependency_overrides:
|
||||
http: ^1.2.1
|
||||
|
|
|
|||
Loading…
Reference in a new issue