-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
.github/workflows: build NixOS/Nixpkgs manuals #106036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| name: "Build NixOS manual" | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - 'nixos/**' | ||
|
|
||
| jobs: | ||
| nixos: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| with: | ||
| # pull_request_target checks out the base branch by default | ||
| ref: refs/pull/${{ github.event.pull_request.number }}/merge | ||
| - uses: cachix/install-nix-action@v12 | ||
| with: | ||
| # explicitly enable sandbox | ||
| extra_nix_config: sandbox = true | ||
| - uses: cachix/cachix-action@v8 | ||
| with: | ||
| # This cache is for the nixos/nixpkgs manual builds and should not be trusted or used elsewhere. | ||
| name: nixpkgs-ci | ||
| signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | ||
|
||
| - name: Building NixOS manual | ||
| run: nix-build --option restrict-eval true nixos/release.nix -A manual.x86_64-linux | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| name: "Build Nixpkgs manual" | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - 'doc/**' | ||
|
|
||
| jobs: | ||
| nixpkgs: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| with: | ||
| # pull_request_target checks out the base branch by default | ||
| ref: refs/pull/${{ github.event.pull_request.number }}/merge | ||
| - uses: cachix/install-nix-action@v12 | ||
| with: | ||
| # explicitly enable sandbox | ||
| extra_nix_config: sandbox = true | ||
| - uses: cachix/cachix-action@v8 | ||
| with: | ||
| # This cache is for the nixos/nixpkgs manual builds and should not be trusted or used elsewhere. | ||
| name: nixpkgs-ci | ||
| signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | ||
| - name: Building Nixpkgs manual | ||
| run: nix-build --option restrict-eval true pkgs/top-level/release.nix -A manual |
Uh oh!
There was an error while loading. Please reload this page.