From 8bf54587ee9bcc7f1f3582eb49529548502e8b42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohwiller?= Date: Tue, 4 Jan 2022 03:13:01 +0100 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..1b505c9 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: CI build +on: + push: + branches: master +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + submodules: recursive + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: '11' + - name: Build project with Maven + run: mvn -B install + - name: Deploy to OSSRH + env: + SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + run: mvn -B --settings .mvn/settings.xml -DskipTests=true -Dmaven.install.skip=true deploy