cd: upgrade flutter_distributor

This commit is contained in:
Kingkor Roy Tirtho 2023-12-02 23:27:33 +06:00
parent bb8f250f5f
commit 5b659ce8c9

View File

@ -33,11 +33,6 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: KRTirtho/flutter_distributor
path: flutter_distributor
ref: fix-windows-build
- uses: subosito/flutter-action@v2.10.0 - uses: subosito/flutter-action@v2.10.0
with: with:
cache: true cache: true
@ -79,10 +74,9 @@ jobs:
- name: Build Windows Executable - name: Build Windows Executable
run: | run: |
dart pub global activate melos dart pub global activate flutter_distributor
cd flutter_distributor && melos bs && cd ..
make innoinstall make innoinstall
dart run ./flutter_distributor/packages/flutter_distributor/bin/main.dart package --platform=windows --targets=exe --skip-clean flutter_distributor package --platform=windows --targets=exe --skip-clean
mv dist/**/spotube-*-windows-setup.exe dist/Spotube-windows-x86_64-setup.exe mv dist/**/spotube-*-windows-setup.exe dist/Spotube-windows-x86_64-setup.exe
- name: Create Chocolatey Package and set hash - name: Create Chocolatey Package and set hash