From 4195883eb1b3ac33a4d5c7db12f1dee93e915d48 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Thu, 12 Nov 2026 18:20:10 -0800 Subject: [PATCH] ci(release): fail the build step when any command fails The multi-line build command run by nick-fields/retry had no errexit, so a failed make-program call was masked by later successful commands. Release 30.0 shipped without any standard-precision source-built programs after the mp7 download failed (#84). Co-Authored-By: Claude Opus 5.5 --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e882555..4471702 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -108,6 +108,7 @@ jobs: shell: bash timeout_minutes: 40 command: | + set -euo pipefail ostag="${{ steps.ostag.outputs.ostag }}" fetched=$(pixi run --manifest-path modflow6/pixi.toml python scripts/fetch_releases.py --manifest releases.json --list) pixi run --manifest-path modflow6/pixi.toml make-program : --appdir $ostag --exclude "$fetched" --keep --zip $ostag.zip --verbose