Skip to content

Commit

Permalink
Fix nix build action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
WombatFromHell committed Feb 1, 2025
1 parent f70a2df commit 9948e6f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
required: true
default: "main"

env:
CACHIX_CACHE_NAME: "wombatfromhell"

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -15,6 +18,6 @@ jobs:
- uses: cachix/install-nix-action@v30
- uses: cachix/cachix-action@v15
with:
name: wombatfromhell
name: ${{ env.CACHIX_CACHE_NAME }}
authToken: "${{ secrets.CACHIX_TOKEN }}"
- run: nix build . --print-out-paths
- run: nix build . --print-out-paths | cachix push ${{ env.CACHIX_CACHE_NAME }}

0 comments on commit 9948e6f

Please sign in to comment.