LCE-Emerald-Launcher/.github/workflows/nix.yml
Edward? 8da6a217bc
Some checks are pending
Nix / build (push) Waiting to run
Feat: Nix Flake install method with ci (#146)
2026-07-16 21:08:19 +03:00

39 lines
813 B
YAML

name: Nix
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
id-token: write
concurrency:
group: nix-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build package
run: nix build .#default --print-build-logs
- name: Flake check
run: nix flake check --print-build-logs
- name: Verify outputs
run: |
test -x ./result/bin/emerald-legacy-launcher
nix path-info -Sh ./result
ls -la ./result/bin/
ls -la ./result/share/applications/ || true