From 355bf33c1b11ed6f8a5a429c840355affcf16cf2 Mon Sep 17 00:00:00 2001 From: Dade <272535+dadepo@users.noreply.github.com> Date: Thu, 16 Jan 2025 15:25:55 +0000 Subject: [PATCH] Use the output of git rev-parsse head instead of github magic var --- .github/workflows/check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index fa3303cce..7fd22e5c1 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -136,7 +136,7 @@ jobs: run: echo "::set-output name=hash::$(git rev-parse HEAD)" - name: convert hash to number id: seed - run: echo "::set-output name=number::$(printf '%d' 0x${GITHUB_SHA:0:8})" + run: echo "::set-output name=number::$(printf '%d' 0x${steps.commit.outputs.hash:0:8})" - name: build run: zig build -Doptimize=ReleaseSafe -Dno-run fuzz - name: run