Add flatpak build

This commit is contained in:
Henry Hiles 2026-03-25 22:29:24 -04:00
commit e7b772ef66
No known key found for this signature in database

27
.github/workflows/flatpak.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: "Build Flatpaks"
on:
workflow_dispatch:
jobs:
build-windows:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Lix GHA Installer Action
uses: samueldr/lix-gha-installer-action@v2026-02-22
- name: Enable flakes
run: echo "experimental-features = nix-command flakes" > /etc/nix/nix.conf
- name: Build app
run: nix build .#flatpak
- name: Upload installer artifact
uses: actions/upload-artifact@v6
with:
name: "nexus.federated.Nexus.flatpak"
path: "result/nexus.federated.Nexus.flatpak"