Skip to content

Merge pull request #132 from 4drian3d/renovate/actions-upload-artifac… #283

Merge pull request #132 from 4drian3d/renovate/actions-upload-artifac…

Merge pull request #132 from 4drian3d/renovate/actions-upload-artifac… #283

Workflow file for this run

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@v3
with:
cache: 'gradle'
java-version: 17
distribution: 'temurin'
- name: Build with Gradle
uses: nick-invision/retry@v2.9.0
with:
timeout_minutes: 4
max_attempts: 2
command: gradle build
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: EpicGuard
path: build/