Skip to content

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

Merged
niheaven merged 2 commits intodevelopfrom
fix-checkhashes
Nov 10, 2022
Merged

builds(checkhashes): Use correct version number if UseCache#5240
niheaven merged 2 commits intodevelopfrom
fix-checkhashes

Conversation

@niheaven
Copy link
Copy Markdown
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