Add detailed CSV export option (#2618) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LNbits CI / nix | |
# - run : on main, dev, nix and cachix branches when relevant files change | |
# - cache : on main, dev and cachix branches when relevant files change | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
- nix | |
- cachix | |
paths: | |
- 'flake.nix' | |
- 'flake.lock' | |
- 'pyproject.toml' | |
- 'poetry.lock' | |
- '.github/workflows/nix.yml' | |
pull_request: | |
paths: | |
- 'flake.nix' | |
- 'flake.lock' | |
- 'pyproject.toml' | |
- 'poetry.lock' | |
jobs: | |
nix: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v27 | |
with: | |
nix_path: nixpkgs=channel:nixos-24.05 | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: lnbits | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- run: nix build -L | |
- run: cachix push lnbits ./result | |
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/cachix' |