From 741c2ea8d1a371840ca5e0407f3aeebe1523e8f8 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Mon, 6 May 2024 10:49:58 +0300 Subject: [PATCH] ci: fix deprecation warning --- .github/workflows/dependencies_check.yml | 3 +-- .github/workflows/gradle.yml | 13 ++++++------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dependencies_check.yml b/.github/workflows/dependencies_check.yml index bcdd9fb..e429701 100644 --- a/.github/workflows/dependencies_check.yml +++ b/.github/workflows/dependencies_check.yml @@ -32,5 +32,4 @@ jobs: - name: Run the tests uses: gradle/actions/setup-gradle@v3 - with: - arguments: 'test' + run: ./gradlew test diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 2518d35..c86683d 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -31,15 +31,14 @@ jobs: - name: gradle validation uses: gradle/actions/wrapper-validation@v3 - - name: Run the tests + - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 - with: - arguments: 'test' - - name: Run build in a subdirectory - uses: gradle/actions/setup-gradle@v3 - with: - arguments: 'bootJar' + - name: Run the tests + run: ./gradlew test + + - name: Run build + run: ./gradlew bootJar - name: Save result jar for further use uses: actions/upload-artifact@v4