Use fastforge instead of flutter_distributor

https://pub.dev/documentation/flutter_distributor/latest/

> **Important Notice**: flutter_distributor has been renamed to [fastforge](https://github.com/fastforgedev/fastforge).
    You can continue to use flutter_distributor, but we recommend migrating to fastforge for the latest features and updates.
    Please visit https://fastforge.dev for more information.
This commit is contained in:
NBA2K1 2025-07-11 06:27:54 +02:00
parent f740bbf59d
commit 05f4a194b0

View file

@ -399,14 +399,14 @@ jobs:
- name: flutter pub get
run: flutter pub get
- name: Enable dart_distributor
run: dart pub global activate flutter_distributor
- name: Enable fastforge
run: dart pub global activate fastforge
- name: Update PATH
run: echo 'export PATH="$PATH:$HOME/.pub-cache/bin"' >> ~/.bashrc
run: echo "PATH=${HOME}/.pub-cache/bin:${PATH}" >> $GITHUB_ENV
- name: Build deb package
run: flutter_distributor package --platform linux --targets deb
run: fastforge package --platform linux --targets deb
- name: Move deb file
run: mv $(find dist -type f -name "mangayomi*.deb") dist/Mangayomi-${{ github.ref_name }}-linux.deb