Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

builds(checkhashes): Use correct version number if UseCache #5240

Merged
merged 2 commits into from
Nov 10, 2022

Conversation

niheaven
Copy link
Member

@niheaven niheaven commented Nov 7, 2022

Description

This fix is concerned with GitHubActions, which downloads file twice if there's no autoupdate hash extraction.

Motivation and Context

When using checkhashes, the actual files are downloaded and hash checked, but the version number in cached file is HASH_CHECK, and in GHA, checkhashes and checkver both download files and don't reuse them. So change checkhashes's switch to let reuse.

How Has This Been Tested?

Before:
image

After:
image

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.
  • I have added an entry in the CHANGELOG.

@niheaven niheaven changed the title feat(checkhashes): Use correct version number if UseCache builds(checkhashes): Use correct version number if UseCache Nov 7, 2022
@niheaven niheaven merged commit 29ed3cb into develop Nov 10, 2022
@niheaven niheaven deleted the fix-checkhashes branch November 10, 2022 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant