mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-08-11 14:23:12 +00:00
ci: pull and publish the Logos Attic cache in nix builds (#4071)
Adopts logos-co/setup-nix-cache-action (as in logos-delivery-module#69); flake.nix substituter moves from the retired status.im nix-cache to cache.nix.logos.co/public. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
ef651a7ccc
commit
56dda125ff
7
.github/workflows/ci-nix.yml
vendored
7
.github/workflows/ci-nix.yml
vendored
@ -30,6 +30,13 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
# Self-hosted runners have Nix preinstalled.
|
||||
- uses: logos-co/setup-nix-cache-action@v1
|
||||
with:
|
||||
install-nix: false
|
||||
attic-token-ci: ${{ secrets.ATTIC_TOKEN_CI }}
|
||||
attic-token-public: ${{ secrets.ATTIC_TOKEN_PUBLIC }}
|
||||
|
||||
- name: 'Run Nix build for ${{ matrix.nixpkg }}'
|
||||
shell: bash
|
||||
run: nix build -L '.#${{ matrix.nixpkg }}'
|
||||
|
||||
@ -2,9 +2,9 @@
|
||||
description = "logos-delivery nim build flake";
|
||||
|
||||
nixConfig = {
|
||||
extra-substituters = [ "https://nix-cache.status.im/" ];
|
||||
extra-substituters = [ "https://cache.nix.logos.co/public" ];
|
||||
extra-trusted-public-keys = [
|
||||
"nix-cache.status.im-1:x/93lOfLU+duPplwMSBR+OlY4+mo+dCN7n0mr4oPwgY="
|
||||
"public:l4HrXgL4nw246+LBh2SOJyhz64BoGegOYLheT/iIAPU="
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user