flakes: pass github token to shield against rate limiting

This commit is contained in:
Domen Kožar 2021-06-24 18:23:41 +02:00
parent 8d6d5e9496
commit 8725a6ad42
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246
2 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@ jobs:
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- run: nix flake show github:NixOS/nixpkgs
installer-options:

View File

@ -58,6 +58,7 @@ jobs:
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- run: nix-build
```