fix(saved-badges): mode, preview, edit and layout + live preview (#1754) #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Linux .deb | |
| on: | |
| push: | |
| branches: [ "development" ] | |
| jobs: | |
| build-deb: | |
| name: Build Debian Package | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Install Linux build dependencies | |
| run: | | |
| sudo apt-get update -y | |
| sudo apt-get install -y \ | |
| clang cmake ninja-build pkg-config \ | |
| libgtk-3-dev liblzma-dev libstdc++-12-dev \ | |
| dpkg-dev | |
| - name: Set up Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: stable | |
| cache: true | |
| - name: Install Dart/Flutter dependencies | |
| run: flutter pub get | |
| - name: Build Linux release | |
| run: flutter build linux --release | |
| - name: Install flutter_build_debian | |
| run: dart pub global activate flutter_build_debian | |
| - name: Build .deb package | |
| run: | | |
| export PATH="$PATH:$HOME/.pub-cache/bin" | |
| flutter_build_debian | |
| - name: Upload .deb as artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: badgemagic-deb | |
| path: debian/packages/*.deb | |
| retention-days: 30 |