From b029442553ecc545eab7a9823b00c72bbe0fa374 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 14 Jul 2025 19:46:10 +0200 Subject: [PATCH] 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. --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dec7ddbc9..e34a03bd0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -186,9 +186,10 @@ jobs: - uses: DeterminateSystems/determinate-nix-action@main - uses: DeterminateSystems/flakehub-cache-action@main - name: Build manual + if: inputs.system == 'x86_64-linux' run: nix build .#hydraJobs.manual - uses: nwtgck/actions-netlify@v3.0 - if: inputs.publish_manual + if: inputs.publish_manual && inputs.system == 'x86_64-linux' with: publish-dir: "./result/share/doc/nix/manual" production-branch: detsys-main