From effcd69a03a68970933fb3fe53bf01c8e3593dec Mon Sep 17 00:00:00 2001 From: James Lyne Date: Sun, 14 Jan 2024 21:38:27 +0000 Subject: [PATCH] Update gradle.yml --- .github/workflows/gradle.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index a3e34cf..254ffc4 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -23,19 +23,20 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run a one-line script run: chmod +x gradlew - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v4 with: - java-version: 17 + java-version: 21 + distribution: 'temurin' - name: Gradle Command # You may pin to the exact commit or the version. # uses: gradle/gradle-build-action@90ccf054e6b9905f30f98c938bce4c6acd323b6b - uses: gradle/gradle-build-action@v1.3.3 + uses: gradle/gradle-build-action@v2 with: arguments: build @@ -43,7 +44,7 @@ jobs: run: cp ProxyDiscordAPI/build/libs/*.jar build/libs; - name: Upload a Build Artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: name: 'ProxyDiscord' path: 'build/libs/'