summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMatyrobbrt <65940752+Matyrobbrt@users.noreply.github.com>2023-10-31 10:02:31 +0200
committerGitHub <noreply@github.com>2023-10-31 10:02:31 +0200
commit1507c3f5c26f04007fa288dcdd4b423765792b0d (patch)
tree4d973cbfbbaab4b0bfe1f41ee4cbf79ffaa24c93 /.github/workflows
parent214ceb315d91e51af48f4b8b52a7bf13af2a1cc7 (diff)
Add build action
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..bf864e1
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -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