Skip to content

Merge pull request #103 from mtotschnig/101-ZeroValues #16

Merge pull request #103 from mtotschnig/101-ZeroValues

Merge pull request #103 from mtotschnig/101-ZeroValues #16

name: Publish snapshot
on:
push:
branches: [ master ]
jobs:
build:
name: Build master branch
runs-on: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v1
- name: set up JDK
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- name: Run unit tests
shell: bash
run: ./gradlew --continue build testRelease
- name: Build & publish snapshot
run: ./gradlew publish --no-daemon --no-parallel --stacktrace
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_REPOSITORY_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_REPOSITORY_PASSWORD }}
ORG_GRADLE_PROJECT_SIGNING_PRIVATE_KEY: ${{ secrets.GPG_SIGNING_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_SIGNING_PASSWORD: ${{ secrets.GPG_SIGNING_PASSWORD }}