diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 744a613..de1f9a4 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -22,13 +22,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v3 with: java-version: '17' distribution: 'temurin' - - name: Change wrapper permissions - run: chmod +x ./gradlew - - name: Build with Gradle - run: ./gradlew buildPlugin + - name: Validate Gradle wrapper + uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3 + - name: Run the Gradle package task + uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 + with: + arguments: -b ci.gradle package