simplify flatpak action, run on push
This commit is contained in:
parent
e7b772ef66
commit
f1af130a63
1 changed files with 6 additions and 4 deletions
10
.github/workflows/flatpak.yml
vendored
10
.github/workflows/flatpak.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue