Skip to content

Commit

Permalink
don't push crates drvs to cachix
Browse files Browse the repository at this point in the history
  • Loading branch information
LEXUGE committed Feb 15, 2023
1 parent 530d70e commit 839a179
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ jobs:
fetch-depth: 0
- uses: cachix/install-nix-action@v16

- uses: cachix/cachix-action@v8
- uses: cachix/cachix-action@v10
with:
name: dcompass
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
pushFilter: '(-source$|nixpkgs\.tar\.gz$|\.iso$|-squashfs.img$|crate-$)'

# Run the general flake checks
- run: nix flake check -vL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: dcompass
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
# Don't push source or .iso files as they are pointless to take up precious cache space.
pushFilter: '(-source$|nixpkgs\.tar\.gz$)'
pushFilter: '(-source$|nixpkgs\.tar\.gz$|\.iso$|-squashfs.img$|crate-$)'

# Run the general flake checks
- run: nix flake check -vL
Expand Down

0 comments on commit 839a179

Please sign in to comment.