name: Sanity check on: push: workflow_dispatch: jobs: apt: name: Build Debian Package runs-on: debian-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 - name: Install dependencies run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Generate DEB run: | python generate-deb.py - uses: actions/upload-artifact@v3 with: path: sweecrypt-gtk.deb flatpak: name: Build Flatpak Package runs-on: debian-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 - name: Install dependencies run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Install runtimes run: flatpak --user install flathub org.freedesktop.Sdk//24.08 - name: Generate DEB run: | python generate-flatpak.py - uses: actions/upload-artifact@v3 with: path: flatpak/