Update dependency gradle to v8.10.2 #125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Gradle | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
# | |
# This worflow will also upload an artifact to Nexus, Hangar, Modrinth, and GitHub releases. | |
name: Java CI with Gradle | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.commits[0].message, '[ci-skip]')" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/wrapper-validation-action@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Test with Gradle | |
run: ./gradlew test | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "IridiumSkyblock" | |
path: "build/libs/IridiumSkyblock-*.jar" |