From fc5ae69e21534de5b252d5dadd1986e161dad317 Mon Sep 17 00:00:00 2001 From: Melissa Linkert Date: Fri, 31 May 2024 03:19:39 -0500 Subject: [PATCH] Replace `arguments` parameter when using Gradle wrapper (#69) See https://github.com/gradle/actions/blob/main/docs/deprecation-upgrade-guide.md#using-the-action-to-execute-gradle-via-the-arguments-parameter-is-deprecated --- .github/workflows/main.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 135bba5..125411a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,6 +35,8 @@ jobs: java-version: '17' distribution: 'temurin' architecture: 'x64' + - name: Setup Gradle wrapper + uses: gradle/actions/setup-gradle@v3 - if: ${{ matrix.os == 'macos-latest' }} name: Install bundler and download blosc run: | @@ -46,19 +48,13 @@ jobs: c:\msys64\usr\bin\wget.exe 'https://github.com/glencoesoftware/c-blosc-windows-x86_64/releases/download/20220919/blosc.dll' - if: ${{ matrix.os == 'windows-latest' }} name: Run jpackage with Gradle (installer) - uses: gradle/actions/setup-gradle@v3 - with: - arguments: jpackage + run: ./gradlew jpackage - if: ${{ matrix.os == 'macos-latest' }} name: Run jpackage with Gradle (application image only) - uses: gradle/actions/setup-gradle@v3 - with: - arguments: jpackageImageZip + run: ./gradlew jpackageImageZip - if: ${{ matrix.os == 'macos-latest' }} name: Generate dependency report - uses: gradle/actions/setup-gradle@v3 - with: - arguments: downloadLicenses + run: ./gradlew downloadLicenses - if: ${{ matrix.os == 'macos-latest' }} name: Upload Mac pkg uses: actions/upload-artifact@v4