summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
author zaaarf <me@zaaarf.foo>2023-12-28 02:56:09 +0100
committer zaaarf <me@zaaarf.foo>2023-12-28 02:56:09 +0100
commita5d7cb15412231e72b9ff34b3f5d8aad1926f6a6 (patch)
tree150158e878c2720b9d9c4648b71303a06a1cfa59 /.github
parent0540858af5a70007dd92d4f862f53e81ff112691 (diff)
ci: added github actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/gradle.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
new file mode 100644
index 0000000..6c01ff3
--- /dev/null
+++ b/.github/workflows/gradle.yml
@@ -0,0 +1,27 @@
+name: Java CI with Gradle
+
+on:
+ push:
+ branches: [ "dev" ]
+ pull_request:
+ branches: [ "dev" ]
+
+permissions:
+ contents: read
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up JDK 8
+ uses: actions/setup-java@v3
+ with:
+ java-version: '8'
+ distribution: 'temurin'
+ - name: Build with Gradle
+ uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
+ with:
+ arguments: build