fix(build-system): pass github token so private repos can be read

This commit is contained in:
Youwen Wu 2025-04-19 21:37:33 -07:00
parent c214bfa525
commit abc43cd768
Signed by: youwen
GPG key ID: 865658ED1FE61EC3

View file

@ -16,7 +16,9 @@ jobs:
- name: Check Nix flake Nixpkgs inputs - name: Check Nix flake Nixpkgs inputs
uses: DeterminateSystems/flake-checker-action@main uses: DeterminateSystems/flake-checker-action@main
- uses: DeterminateSystems/nix-installer-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: | run: |
# nix flake check --all-systems # nix flake check --all-systems
nix build .#nixosConfigurations.demeter.config.system.build.toplevel nix build .#nixosConfigurations.demeter.config.system.build.toplevel
@ -32,7 +34,9 @@ jobs:
- name: Check Nix flake Nixpkgs inputs - name: Check Nix flake Nixpkgs inputs
uses: DeterminateSystems/flake-checker-action@main uses: DeterminateSystems/flake-checker-action@main
- uses: DeterminateSystems/nix-installer-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: | run: |
# nix flake check --all-systems # nix flake check --all-systems
nix build .#nixosConfigurations.callisto.config.system.build.toplevel nix build .#nixosConfigurations.callisto.config.system.build.toplevel