From bb654dd0d48d5b47c853b5e4f6ceb78d61f2b188 Mon Sep 17 00:00:00 2001 From: Alex Alexandrovich Date: Thu, 9 Nov 2023 20:01:29 +0300 Subject: [PATCH] Update gradle.yml --- .github/workflows/gradle.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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