Skip to content

Commit 4e9927c

Browse files
committed
Polish comments a bit
1 parent 8ace879 commit 4e9927c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Download latest release
2-
description: "Download latest release"
2+
description: "Downloads the latest release of the build validation scripts for Gradle"
33

44
inputs:
55
token:
6-
description: "Github token"
6+
description: "GitHub token"
77
required: false
88

99
runs:
@@ -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

0 commit comments

Comments
 (0)