Skip to content

Commit

Permalink
Use the output of git rev-parsse head instead of github magic var
Browse files Browse the repository at this point in the history
  • Loading branch information
dadepo committed Jan 16, 2025
1 parent b8f8172 commit 355bf33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 355bf33

Please sign in to comment.