Skip to content

Commit 0370772

Browse files
fix: better nix hash detection (anomalyco#18957)
1 parent 41c77cc commit 0370772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nix-hashes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
nix build ".#packages.${SYSTEM}.node_modules_updater" --no-link 2>&1 | tee "$BUILD_LOG" || true
5757
5858
# Extract hash from build log with portability
59-
HASH="$(grep -oE 'sha256-[A-Za-z0-9+/=]+' "$BUILD_LOG" | tail -n1 || true)"
59+
HASH="$(grep -oE 'got:\s*sha256-[A-Za-z0-9+/=]+' "$BUILD_LOG" | tail -n1 || true)"
6060
6161
if [ -z "$HASH" ]; then
6262
echo "::error::Failed to compute hash for ${SYSTEM}"

0 commit comments

Comments
 (0)