From 1cb206f77f4121696f83bc48b48e13a1249ae9ba Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 21 Mar 2023 00:16:39 +0800 Subject: [PATCH] ci: add cleanup script for the image --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 20e6509f..b3796efe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,8 @@ jobs: nix_path: nixpkgs=channel:nixos-unstable extra_nix_config: | keep-going = true + - run: | + sudo apt clean - name: Prepare push to binary cache uses: cachix/cachix-action@v10 if: ${{ github.ref == 'refs/heads/master' }} @@ -32,6 +34,8 @@ jobs: nix_path: nixpkgs=channel:nixos-unstable extra_nix_config: | keep-going = true + - run: | + sudo apt clean - name: Prepare push to binary cache uses: cachix/cachix-action@v10 if: ${{ github.ref == 'refs/heads/master' }}