Skip to content

Commit a0791cb

Browse files
Configure caches in CI
1 parent e30a995 commit a0791cb

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,10 @@ jobs:
569569

570570
- name: ❄ Install Nix
571571
uses: DeterminateSystems/nix-installer-action@main
572+
with:
573+
extra-conf: |
574+
extra-substituters = https://graphite.cachix.org https://graphite-dev.cachix.org
575+
extra-trusted-public-keys = graphite.cachix.org-1:B7Il1yMpkquN/dXM+5GRmz+4Xmu2aaCS1GcWNfFhsOo= graphite-dev.cachix.org-1:RppXYpiV1qO2TYKTkXXGHsAEQDOB5G51b3VlrN9QmbI=
572576
573577
- name: 🗑 Free disk space
574578
run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache

.github/workflows/provide-shaders.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ jobs:
1717

1818
- name: ❄ Install Nix
1919
uses: DeterminateSystems/nix-installer-action@main
20-
21-
- name: 💾 Set up Nix cache
22-
uses: DeterminateSystems/magic-nix-cache-action@main
20+
with:
21+
extra-conf: |
22+
extra-substituters = https://graphite.cachix.org https://graphite-dev.cachix.org
23+
extra-trusted-public-keys = graphite.cachix.org-1:B7Il1yMpkquN/dXM+5GRmz+4Xmu2aaCS1GcWNfFhsOo= graphite-dev.cachix.org-1:RppXYpiV1qO2TYKTkXXGHsAEQDOB5G51b3VlrN9QmbI=
2324
2425
- name: 🏗 Build graphene raster nodes shaders
2526
run: nix build .#graphite-raster-nodes-shaders && cp result raster_nodes_shaders_entrypoint.wgsl

0 commit comments

Comments
 (0)