Add github actions

- Updated gradle wrapper to 6.7.1
- Added .gitignore
This commit is contained in:
Frank van der Heijden 2020-12-04 14:08:40 +01:00
parent 4a374c5f43
commit ac0072a5e8
No known key found for this signature in database
GPG key ID: 26DA56488D314D11
3 changed files with 38 additions and 1 deletions

31
.github/workflows/gradle.yml vendored Normal file
View file

@ -0,0 +1,31 @@
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload artififacts
uses: actions/upload-artifact@v2.2.1
with:
name: ServerUtils
path: build/libs/*-all.jar