Skip to content

Merge pull request #172 from AlexandreCarlton/fix-publisher-dataloade… #50

Merge pull request #172 from AlexandreCarlton/fix-publisher-dataloade…

Merge pull request #172 from AlexandreCarlton/fix-publisher-dataloade… #50

Workflow file for this run

name: Master Build and Publish
# For master push: Builds and publishes the development version to bintray/maven
on:
push:
branches:
- master
jobs:
buildAndPublish:
runs-on: ubuntu-latest
env:
MAVEN_CENTRAL_USER: ${{ secrets.MAVEN_CENTRAL_USER }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
MAVEN_CENTRAL_PGP_KEY: ${{ secrets.MAVEN_CENTRAL_PGP_KEY }}
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
check-latest: true
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: build test and publish
run: ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace
env:
CI: true