flutter build fix

This commit is contained in:
Kingkor Roy Tirtho 2022-03-18 13:13:56 +06:00
parent a4b2f06737
commit 195f9dd5f4

View File

@ -18,7 +18,7 @@ jobs:
sudo apt-get install -y tar clang cmake ninja-build pkg-config libgtk-3-dev make libwebkit2gtk-4.0-dev keybinder-3.0 python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace fuse sudo apt-get install -y tar clang cmake ninja-build pkg-config libgtk-3-dev make libwebkit2gtk-4.0-dev keybinder-3.0 python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace fuse
- run: flutter config --enable-linux-desktop - run: flutter config --enable-linux-desktop
- run: flutter pub get - run: flutter pub get
- run: dart bin/create-secrets.dart ${{ secrets.SECRET }} - run: dart bin/create-secrets.dart '${{ secrets.SECRET }}'
- run: flutter clean - run: flutter clean
- run: flutter build linux - run: flutter build linux
- run: make deb - run: make deb
@ -45,10 +45,10 @@ jobs:
with: with:
cache: true cache: true
env: env:
SECRET: ${{ secrets.SECRET }} SECRET: '${{ secrets.SECRET }}'
- run: flutter config --enable-windows-desktop - run: flutter config --enable-windows-desktop
- run: flutter pub get - run: flutter pub get
- run: dart bin/create-secrets.dart ${{ secrets.SECRET }} - run: dart bin/create-secrets.dart '${{ secrets.SECRET }}'
- run: flutter build windows - run: flutter build windows
- run: choco install make -y - run: choco install make -y
- run: make innoinstall - run: make innoinstall
@ -68,10 +68,10 @@ jobs:
with: with:
cache: true cache: true
env: env:
SECRET: ${{ secrets.SECRET }} SECRET: '${{ secrets.SECRET }}'
- run: flutter config --enable-macos-desktop - run: flutter config --enable-macos-desktop
- run: flutter pub get - run: flutter pub get
- run: dart bin/create-secrets.dart ${{ secrets.SECRET }} - run: dart bin/create-secrets.dart '${{ secrets.SECRET }}'
- run: flutter build macos - run: flutter build macos
- run: du -sh build/macos/Build/Products/Release/spotube.app - run: du -sh build/macos/Build/Products/Release/spotube.app
- run: npm install -g appdmg - run: npm install -g appdmg