simplify flatpak action, run on push

This commit is contained in:
Henry Hiles 2026-03-25 22:30:47 -04:00
commit f1af130a63
No known key found for this signature in database

View file

@ -1,10 +1,13 @@
name: "Build Flatpaks" name: "Build Flatpaks"
on: on:
push:
branches: ["main"]
tags: ["*"]
workflow_dispatch: workflow_dispatch:
jobs: jobs:
build-windows: build-flatpak:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -13,9 +16,8 @@ jobs:
- name: Lix GHA Installer Action - name: Lix GHA Installer Action
uses: samueldr/lix-gha-installer-action@v2026-02-22 uses: samueldr/lix-gha-installer-action@v2026-02-22
with:
- name: Enable flakes extra_nix_config: experimental-features = nix-command flakes flake-self-attrs
run: echo "experimental-features = nix-command flakes" > /etc/nix/nix.conf
- name: Build app - name: Build app
run: nix build .#flatpak run: nix build .#flatpak