Skip to content

Commit

Permalink
Use unzip to unpack wheels
Browse files Browse the repository at this point in the history
I have now gotten an heart attack at least twice because `wheel unpack`
doesn't preserve the timestamps from the archive.
  • Loading branch information
hynek committed Mar 27, 2024
1 parent b3326f9 commit d1fd22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ runs:
if [[ "${{ inputs.skip-wheel }}" != 'true' ]]; then
mkdir -p out/wheels
/tmp/baipp/bin/python -m wheel unpack --dest out/wheels *.whl
unzip *.whl -d out/wheels
echo -e '\n<details><summary>Wheel contents</summary>\n' >> $GITHUB_STEP_SUMMARY
(cd /tmp/baipp/dist/out/wheels && tree -Da --timefmt="%Y-%m-%dT%H:%M:%SZ" * | sed 's/^/ /' | tee -a $GITHUB_STEP_SUMMARY)
Expand Down

0 comments on commit d1fd22b

Please sign in to comment.