From 839a1798d4b0da0e1ddd68113c603c18c6ebee41 Mon Sep 17 00:00:00 2001 From: Harry Ying Date: Wed, 15 Feb 2023 18:53:06 +0000 Subject: [PATCH] don't push crates drvs to cachix --- .github/workflows/build.yaml | 3 ++- .github/workflows/check.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0036d23..e6bfd2b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 94f4cc1..62133ae 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -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