fix: run cachix nix action for all branches (#2624)

This commit is contained in:
Pavol Rusnak 2024-08-01 21:54:15 +02:00 committed by GitHub
parent 646a604221
commit bab399f825
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,11 +28,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v24
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-23.11
- uses: cachix/cachix-action@v13
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/cachix'
nix_path: nixpkgs=channel:nixos-24.05
- uses: cachix/cachix-action@v15
with:
name: lnbits
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"