From c90379a0d1bb9235c010146aacaa98ba0ad71d8f Mon Sep 17 00:00:00 2001 From: Tobias Nett Date: Sun, 3 Sep 2023 15:12:33 +0200 Subject: [PATCH] ci(github): Basic Gradle workflow to build on Github --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000000..9afe160b018 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,20 @@ +name: Java CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: '15' + distribution: 'adopt' + - name: Validate Gradle Wrapper + uses: gradle/wrapper-validation-action@v1 + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + - name: Execute Gradle Build + run: ./gradlew build