Merge pull request #53 from 4drian3d/renovate/mockito-monorepo #209
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: KickRedirect Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Build with Gradle v2.4.1 | |
uses: nick-invision/retry@v2.8.3 | |
with: | |
timeout_minutes: 4 | |
max_attempts: 2 | |
command: gradle build | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: KickRedirect | |
path: build/libs/KickRedirect-*.jar |