diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c828db0..f5738da 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,8 +5,23 @@ on: pull_request: jobs: validation: - name: "Gradle Wrapper Validation" + name: "Build" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: gradle/wrapper-validation-action@v1 + - name: Checkout + uses: actions/checkout@v3 + - name: Validate Gradle wrapper + uses: gradle/wrapper-validation-action@v1 + - name: Install Java 17 + uses: actions/setup-java@v3 + with: + java-version: 17 # Can be more specific if neccesary + distribution: temurin + - name: Build + run: ./gradlew build + - name: Upload jars + uses: actions/upload-artifact@v3 + with: + name: jars + path: build/libs + if-no-files-found: warn