From f6886d9b62716806fba785202a1dc4bd4708b3bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= Date: Tue, 31 Oct 2023 09:55:57 -0300 Subject: [PATCH] ci: release: configure Cachix --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c17492cca..fad150b10 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,10 +38,18 @@ jobs: - name: Install Nix uses: DeterminateSystems/nix-installer-action@v6 + - name: Configure Cachix + uses: cachix/cachix-action@v12 + with: + name: trailofbits + authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + - name: Configure Nix cache if: runner.arch == 'X64' # Unfortunately the action does not work on ARM runners uses: DeterminateSystems/magic-nix-cache-action@v2 + with: + upstream-cache: https://trailofbits.cachix.org - name: Obtain version number id: version