diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4ce9f6c..2bb1cfa 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,15 +23,19 @@ jobs: with: flutter-version: '3.24.3' - # Install AppImage dependencies + # Install AppImage and Linux dependencies - name: Install AppImage and Linux dependencies run: | sudo apt-get update - sudo apt-get install -y libgtk-3-dev libblkid-dev e2fslibs-dev liblzma-dev mpv ninja-build + sudo apt-get install -y libgtk-3-dev libblkid-dev e2fslibs-dev liblzma-dev libmpv-dev mpv ninja-build wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage chmod +x linuxdeploy-x86_64.AppImage appimagetool-x86_64.AppImage + # Fetch Flutter dependencies + - name: Install Flutter dependencies + run: flutter pub get + # Run Flutter build for Linux - name: Build Flutter Linux App run: flutter build linux @@ -52,4 +56,3 @@ jobs: with: name: my-flutter-app.AppImage path: '*.AppImage' -