Skip to content

Commit

Permalink
ci: release: configure Cachix
Browse files Browse the repository at this point in the history
  • Loading branch information
elopez committed Oct 31, 2023
1 parent 93f82d9 commit f6886d9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6886d9

Please sign in to comment.