mirror of
https://github.com/NixOS/nix.git
synced 2025-12-02 15:11:00 +01:00
Only build the manual on x86_64-linux
Otherwise the build will randomly fail on other platforms depending on whether the result is already in the binary cache.
This commit is contained in:
parent
04045d5add
commit
b029442553
1 changed files with 2 additions and 1 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -186,9 +186,10 @@ jobs:
|
||||||
- uses: DeterminateSystems/determinate-nix-action@main
|
- uses: DeterminateSystems/determinate-nix-action@main
|
||||||
- uses: DeterminateSystems/flakehub-cache-action@main
|
- uses: DeterminateSystems/flakehub-cache-action@main
|
||||||
- name: Build manual
|
- name: Build manual
|
||||||
|
if: inputs.system == 'x86_64-linux'
|
||||||
run: nix build .#hydraJobs.manual
|
run: nix build .#hydraJobs.manual
|
||||||
- uses: nwtgck/actions-netlify@v3.0
|
- uses: nwtgck/actions-netlify@v3.0
|
||||||
if: inputs.publish_manual
|
if: inputs.publish_manual && inputs.system == 'x86_64-linux'
|
||||||
with:
|
with:
|
||||||
publish-dir: "./result/share/doc/nix/manual"
|
publish-dir: "./result/share/doc/nix/manual"
|
||||||
production-branch: detsys-main
|
production-branch: detsys-main
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue