This commit is contained in:
C10udburst 2022-08-04 09:19:27 +02:00
commit 95d272cacd
12 changed files with 407 additions and 0 deletions

21
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: CI
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build and publish
run: |
chmod +x gradlew
./gradlew :publish -Pversion=${GITHUB_REF##*/}-SNAPSHOT
./gradlew :publish -Pversion=$(git rev-parse --short "$GITHUB_SHA")