aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2021-05-27 18:04:43 +0300
committerJuuz <6596629+Juuxel@users.noreply.github.com>2021-05-27 18:04:43 +0300
commit5a2549b04ae8d66c702dcaebcde63582f77b0732 (patch)
tree527102ac7d3f7f598846270886b19673027e4af2 /.github/workflows/build.yml
parentd52ec93090f68c80d49735d911f79e0de01990ee (diff)
downloadLibGui-5a2549b04ae8d66c702dcaebcde63582f77b0732.tar.gz
LibGui-5a2549b04ae8d66c702dcaebcde63582f77b0732.tar.bz2
LibGui-5a2549b04ae8d66c702dcaebcde63582f77b0732.zip
Add GH workflow
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..5db7d73
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,21 @@
+name: build
+on: [pull_request, push]
+
+jobs:
+ build:
+ runs-on: ubuntu-20.04
+ steps:
+ - name: checkout repository
+ uses: actions/checkout@v2
+ - name: validate gradle wrapper
+ uses: gradle/wrapper-validation-action@v1
+ - name: setup jdk 16
+ uses: actions/setup-java@v2
+ with:
+ distribution: adopt
+ java-version: 16
+ - name: make gradle wrapper executable
+ if: ${{ runner.os != 'Windows' }}
+ run: chmod +x ./gradlew
+ - name: build
+ run: ./gradlew build