Skip to content

Only fetch checksums for unknown wrapper versions#292

Merged
bigdaz merged 2 commits into
mainfrom
dd/fetch-unknown-checksums
Jul 16, 2024
Merged

Only fetch checksums for unknown wrapper versions#292
bigdaz merged 2 commits into
mainfrom
dd/fetch-unknown-checksums

Conversation

@bigdaz

@bigdaz bigdaz commented Jul 15, 2024

Copy link
Copy Markdown
Member

The checksum values for most wrapper versions are hard-coded into the action. These known checksum values are first used for validation: only if none of the known values work do we download checksums.

Previously, we blindly downloaded all of the checksum values in this case: we now only download the checksums for versions that are not in our "known" set.

Fixes #171

bigdaz added 2 commits July 15, 2024 17:50
The checksum values for most wrapper versions are hard-coded into the action.
These known checksum values are first used for validation: only if none of the known
values work do we download checksums.

Previously, we blindly downloaded all of the checksum values in this case: we now only
download the checksums for versions that are not in our "known" set.

Fixes #171
@bigdaz bigdaz merged commit dff3ef9 into main Jul 16, 2024
@bigdaz bigdaz deleted the dd/fetch-unknown-checksums branch July 16, 2024 19:04
@bigdaz bigdaz modified the milestones: v3.6.0, v4.0.0 Jul 17, 2024
eduardbosch-jt pushed a commit to jobandtalent/gradle-actions that referenced this pull request May 30, 2025
The checksum values for most wrapper versions are hard-coded into the
action. These known checksum values are first used for validation: only
if none of the known values work do we download checksums.

Previously, we blindly downloaded all of the checksum values in this
case: we now only download the checksums for versions that are not in
our "known" set.

Fixes gradle#171
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.

Only fetch new versions when validating wrapper jars

1 participant