Merge pull request #72 from 4drian3d/renovate/junit5-monorepo #343
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@v3 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Build with Gradlev2.4.1 | |
uses: nick-invision/[email protected] | |
with: | |
timeout_minutes: 4 | |
max_attempts: 2 | |
command: gradle build | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ChatRegulator | |
path: plugin/build/libs/ChatRegulator-*.jar |