Skip to content

Commit 9ed7eb1

Browse files
committed
Make hash compute sparse @ reusable-cibuildwheel
1 parent f5465b3 commit 9ed7eb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/reusable-cibuildwheel.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,13 @@ jobs:
5353
from hashlib import sha512
5454
from os import environ
5555
from pathlib import Path
56+
5657
FILE_APPEND_MODE = 'a'
58+
5759
inputs_json_str = """${{ toJSON(inputs) }}"""
60+
5861
hash = sha512(inputs_json_str.encode()).hexdigest()
62+
5963
with Path(environ['GITHUB_OUTPUT']).open(
6064
mode=FILE_APPEND_MODE,
6165
) as outputs_file:

0 commit comments

Comments
 (0)