Skip to content

Commit

Permalink
ci: Add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
4drian3d committed Aug 26, 2023
1 parent bb7d7dc commit 674f035
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Gradle 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
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
max_attempts: 2
command: ./gradlew clean build

0 comments on commit 674f035

Please sign in to comment.