GH-132 Move level-related calculations to LevelUtil. #580
Workflow file for this run
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
name: Java CI with Gradle | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Make gradlew executable | |
run: chmod +x gradlew | |
- name: Run checkstyle | |
run: ./gradlew checkstyleMain | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@0bfe00a136db5e61ba3416b372542a65863a9fee | |
with: | |
arguments: shadowJar | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
name: 'Successfully build DiscordOfficer JDK${{ matrix.jdk }}' | |
path: build/libs/*.jar |