1
1
Fork 0
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:
Eelco Dolstra 2025-07-14 19:46:10 +02:00
parent 04045d5add
commit b029442553

View file

@ -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