File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
.github/actions/gradle/download Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 11name : Download latest release
2- description : " Download latest release"
2+ description : " Downloads the latest release of the build validation scripts for Gradle "
33
44inputs :
55 token :
6- description : " Github token"
6+ description : " GitHub token"
77 required : false
88
99runs :
@@ -16,18 +16,18 @@ runs:
1616 authHeader="--header 'Authorization: Bearer ${{ inputs.token }}'"
1717 fi
1818
19- # Build Get Latest release data command
19+ # Build the command to get the details of the latest version of the build validation scripts
2020 cmdGetLatestReleaseData="curl -s $authHeader https://api.github.com/repos/gradle/gradle-enterprise-build-validation-scripts/releases/latest"
2121
22- # Get latest release download url
22+ # Get the download url of the latest version of the build validation scripts
2323 downloadUrl=$($cmdGetLatestReleaseData | jq -c '.assets[] | select(.content_type == "application/zip")' | jq -r .browser_download_url | grep -v maven)
2424
25- # Build Get Latest release command
25+ # Build the command to download the latest version of the build validation scripts
2626 cmdGetLatestRelease="curl -s -L $authHeader -o gradle-enterprise-gradle-build-validation.zip $downloadUrl"
2727
28- # Get latest release
28+ # Download the latest version of the build validation scripts
2929 eval "$cmdGetLatestRelease"
3030
31- # Unzip it
31+ # Unzip the downloaded build validation scripts
3232 unzip -q -o gradle-enterprise-gradle-build-validation.zip
3333 shell : bash
You can’t perform that action at this time.
0 commit comments