Skip to content

Commit ea70e51

Browse files
committed
Use the gradle wrapper
1 parent 3391a87 commit ea70e51

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/gradle.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ jobs:
3030
cache: gradle
3131

3232
- name: Print Gradle version
33-
run: gradle --version
33+
run: ./gradlew --version
3434

3535
- name: Build plugin
3636
run: |
3737
echo "Building plugin ${{ env.PLUGIN_NAME }}, located at ${{ env.PLUGIN_DIR }}. Using Gradle user home at ${{ env.GRADLE_USER_HOME }}"
38-
gradle -p ${{ env.PLUGIN_DIR }} clean build
38+
./gradlew -p ${{ env.PLUGIN_DIR }} clean build
3939
4040
- name: Extract version
4141
id: get_version
4242
run: |
43-
VERSION=$(gradle -p ${{ env.PLUGIN_DIR }} :version -q | tail -n 1)
43+
VERSION=$(./gradlew -p ${{ env.PLUGIN_DIR }} :version -q | tail -n 1)
4444
echo "VERSION=$VERSION" >> $GITHUB_ENV
4545
echo "Built version $VERSION of plugin ${{ env.PLUGIN_NAME }}"
4646

0 commit comments

Comments
 (0)