Merge pull request #111 from 4drian3d/renovate/slf4j-monorepo #538
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: ChatRegulator Gradle Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [17] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Build with Gradlev2.4.1 | |
uses: nick-invision/retry@v3.0.0 | |
with: | |
timeout_minutes: 4 | |
max_attempts: 2 | |
command: ./gradlew build | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ChatRegulator | |
path: plugin/build/libs/ChatRegulator-*.jar |