From 421c03a47c4b03a748d6ba4e7cf4994960577611 Mon Sep 17 00:00:00 2001 From: EoD <293499+EoD@users.noreply.github.com> Date: Sat, 3 May 2025 16:11:58 +0000 Subject: [PATCH] remove deprecated "argument" parameter from action See https://github.com/gradle/actions/blob/755ed7db09daddecb584fd9d200146c632f1af98/docs/deprecation-upgrade-guide.md --- .github/workflows/build-1.20.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-1.20.yml b/.github/workflows/build-1.20.yml index 6988200..2b2d43d 100644 --- a/.github/workflows/build-1.20.yml +++ b/.github/workflows/build-1.20.yml @@ -23,13 +23,11 @@ jobs: java-version: '17' distribution: 'temurin' - - name: Build - id: build + - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - with: - arguments: build - env: - SNAPSHOT: true + + - name: Build with Gradle + run: ./gradlew build - name: Build Artifact uses: actions/upload-artifact@v4