chore(deps): update kotlin monorepo to v2 #366
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@v2 | |
with: | |
timeout_minutes: 5 | |
max_attempts: 2 | |
command: ./gradlew clean build | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: LogFilter | |
path: |- | |
paper/build/libs/*.jar | |
krypton/build/libs/*.jar | |
velocity/build/libs/*.jar | |
sponge/build/libs/*.jar | |
waterfall/build/libs/*.jar |