From abc43cd7682d747874935a8804d8e94fa40936d4 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 19 Apr 2025 21:37:33 -0700 Subject: [PATCH] fix(build-system): pass github token so private repos can be read --- .github/workflows/build-system.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-system.yml b/.github/workflows/build-system.yml index 456f60e..d885bc4 100644 --- a/.github/workflows/build-system.yml +++ b/.github/workflows/build-system.yml @@ -16,7 +16,9 @@ jobs: - name: Check Nix flake Nixpkgs inputs uses: DeterminateSystems/flake-checker-action@main - uses: DeterminateSystems/nix-installer-action@main - - name: Build select system configurations. + with: + github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} + - name: Build demeter run: | # nix flake check --all-systems nix build .#nixosConfigurations.demeter.config.system.build.toplevel @@ -32,7 +34,9 @@ jobs: - name: Check Nix flake Nixpkgs inputs uses: DeterminateSystems/flake-checker-action@main - uses: DeterminateSystems/nix-installer-action@main - - name: Build select system configurations. + with: + github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} + - name: Build callisto run: | # nix flake check --all-systems nix build .#nixosConfigurations.callisto.config.system.build.toplevel