Skip to content

Commit

Permalink
Github-Action: gradle instead of maven.
Browse files Browse the repository at this point in the history
  • Loading branch information
kreinhard committed Nov 25, 2024
1 parent 84a5eb6 commit c528915
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
push:
branches: [ develop ]
paths-ignore:
- 'site/**'
pull_request:
branches: [ develop ]
paths-ignore:
- 'site/**'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Grant execute permission for Gradle wrapper
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build

0 comments on commit c528915

Please sign in to comment.