You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
951 B
32 lines
951 B
4 years ago
|
name: "Build Nixpkgs manual"
|
||
|
|
||
3 years ago
|
permissions: read-all
|
||
|
|
||
4 years ago
|
on:
|
||
|
pull_request_target:
|
||
|
branches:
|
||
|
- master
|
||
|
paths:
|
||
|
- 'doc/**'
|
||
|
|
||
|
jobs:
|
||
|
nixpkgs:
|
||
|
runs-on: ubuntu-latest
|
||
3 years ago
|
if: github.repository_owner == 'NixOS'
|
||
4 years ago
|
steps:
|
||
2 years ago
|
- uses: actions/checkout@v3
|
||
4 years ago
|
with:
|
||
|
# pull_request_target checks out the base branch by default
|
||
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||
2 years ago
|
- uses: cachix/install-nix-action@v18
|
||
4 years ago
|
with:
|
||
|
# explicitly enable sandbox
|
||
|
extra_nix_config: sandbox = true
|
||
2 years ago
|
- uses: cachix/cachix-action@v11
|
||
4 years ago
|
with:
|
||
2 years ago
|
# This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
|
||
4 years ago
|
name: nixpkgs-ci
|
||
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||
|
- name: Building Nixpkgs manual
|
||
3 years ago
|
run: NIX_PATH=nixpkgs=$(pwd) nix-build --option restrict-eval true pkgs/top-level/release.nix -A manual
|