24w38a #5398
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 Brachyra | |
# For more information see: docs/development/brachyura.md | |
name: Java CI with Gradle | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
cache-read-only: false | |
- name: Run build with Gradle Wrapper | |
run: ./gradlew build | |
- name: Upload built JAR (Fabric) | |
uses: actions/upload-artifact@v3 | |
with: | |
name: iris-artifacts | |
path: build/libs |