Merge pull request #177 from 4drian3d/renovate/junit5-monorepo #539
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: Gradle Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Build with Gradle | |
uses: nick-invision/retry@v3 | |
with: | |
timeout_minutes: 5 | |
max_attempts: 2 | |
command: ./gradlew clean build | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: AuthMeVelocity | |
path: |- | |
velocity/build/libs/AuthMeVelocity-Velocity-*.jar | |
paper/build/libs/AuthMeVelocity-Paper-*.jar |