diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index a93fc1f..5794487 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 1.8 + - name: Set up JDK 8 uses: actions/setup-java@v3 with: java-version: '8' @@ -32,6 +32,11 @@ jobs: with: java-version: '17' distribution: 'adopt' + - name: Set up JDK 21 + uses: actions/setup-java@v3 + with: + java-version: '21' + distribution: 'adopt' - name: Change wrapper permissions run: chmod +x ./gradlew - name: Validate Gradle wrapper @@ -45,5 +50,5 @@ jobs: - name: Upload jars artifact uses: actions/upload-artifact@v3 with: - name: mpkmod-build.${{ env.NOW }} + name: mpkmod.${{ env.NOW }} path: build/libs/*.jar