Add build action

This commit is contained in:
Matyrobbrt 2023-10-31 10:02:31 +02:00 committed by GitHub
parent 214ceb315d
commit 1507c3f5c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1000
fetch-tags: true
- name: Setup JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build