@@ -0,0 +1,28 @@
1+name: "Build Nixpkgs manual"
12+ runs-on: ubuntu-latest
14+ - uses: actions/checkout@v2
16+ # pull_request_target checks out the base branch by default
17+ ref: refs/pull/${{ github.event.pull_request.number }}/merge
18+ - uses: cachix/install-nix-action@v12
20+ # explicitly enable sandbox
21+ extra_nix_config: sandbox = true
22+ - uses: cachix/cachix-action@v8
24+ # This cache is for the nixos/nixpkgs manual builds and should not be trusted or used elsewhere.
26+ signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
27+ - name: Building Nixpkgs manual
28+ run: nix-build --option restrict-eval true pkgs/top-level/release.nix -A manual