Skip to content

Setup Gradle plugins for correct snapshot publication (#47) #167

Setup Gradle plugins for correct snapshot publication (#47)

Setup Gradle plugins for correct snapshot publication (#47) #167

name: Build and Publish
on:
push:
tags: ["**"]
branches: ["**"]
jobs:
build-and-publish:
name: Java Gradle
uses: bakdata/ci-templates/.github/workflows/[email protected]
secrets:
sonar-token: ${{ secrets.SONARCLOUD_TOKEN }}
sonar-organization: ${{ secrets.SONARCLOUD_ORGANIZATION }}
signing-key-id: ${{ secrets.SONATYPE_SIGNING_KEY_ID }}
signing-password: ${{ secrets.SONATYPE_SIGNING_PASSWORD }}
signing-secret-key-ring: ${{ secrets.SONATYPE_SIGNING_SECRET_KEY_RING }}
ossrh-password: ${{ secrets.SONATYPE_OSSRH_PASSWORD }}
ossrh-username: ${{ secrets.SONATYPE_OSSRH_USERNAME }}
gradle-publish-key: ${{ secrets.GRADLE_PLUGIN_PUBLISH_KEY }}
gradle-publish-secret: ${{ secrets.GRADLE_PLUGIN_PUBLISH_SECRET }}
github-username: ${{ secrets.GH_USERNAME }}
github-token: ${{ secrets.GH_TOKEN }}