Merge pull request #162 from 4drian3d/renovate/commons.text #382
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: Java CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
cache: 'gradle' | |
java-version: 17 | |
distribution: 'temurin' | |
- name: Build with Gradle | |
uses: nick-invision/[email protected] | |
with: | |
timeout_minutes: 4 | |
max_attempts: 2 | |
command: gradle build | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: EpicGuard | |
path: build/ |