summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorCaleb Norton <[email protected]>2026-03-24 11:30:39 -0500
committerGitHub <[email protected]>2026-03-24 11:30:39 -0500
commit037077285ac36b8a427aa330d331e099360f1e55 (patch)
tree22bfbd5756e96f77ec3853c86a0cb5adde476858 /.github/workflows
parent41c77ccb33b26c09aca2ab96661dc31a5db70264 (diff)
downloadopencode-037077285ac36b8a427aa330d331e099360f1e55.tar.gz
opencode-037077285ac36b8a427aa330d331e099360f1e55.zip
fix: better nix hash detection (#18957)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/nix-hashes.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/nix-hashes.yml b/.github/workflows/nix-hashes.yml
index 2529c14c2..9ebdb0188 100644
--- a/.github/workflows/nix-hashes.yml
+++ b/.github/workflows/nix-hashes.yml
@@ -56,7 +56,7 @@ jobs:
nix build ".#packages.${SYSTEM}.node_modules_updater" --no-link 2>&1 | tee "$BUILD_LOG" || true
# Extract hash from build log with portability
- HASH="$(grep -oE 'sha256-[A-Za-z0-9+/=]+' "$BUILD_LOG" | tail -n1 || true)"
+ HASH="$(grep -oE 'got:\s*sha256-[A-Za-z0-9+/=]+' "$BUILD_LOG" | tail -n1 || true)"
if [ -z "$HASH" ]; then
echo "::error::Failed to compute hash for ${SYSTEM}"