Skip to content

Commit 441a9b0

Browse files
committed
misc: get rid of code duplication
1 parent 8ae9278 commit 441a9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/configure-gradle/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
1414
cd ${{ inputs.working-directory }}
1515
1616
ORIGINAL_URL=$(grep "distributionUrl" ./gradle/wrapper/gradle-wrapper.properties)
17-
echo "ORIGINAL_URL=$(grep "distributionUrl" ./gradle/wrapper/gradle-wrapper.properties)" >> $GITHUB_ENV
17+
echo "ORIGINAL_URL=$ORIGINAL_URL" >> $GITHUB_ENV
1818
1919
GRADLE_VERSION=$(echo $ORIGINAL_URL | sed -n 's|.*gradle-\([0-9.]*\)-bin.zip|\1|p')
2020
CUSTOM_URL="https://d2pjps8lqszrgq.cloudfront.net/gradle-$GRADLE_VERSION-bin.zip"

0 commit comments

Comments
 (0)