From 4610fd7adaa883fa8454f118d88f868fa10a9f01 Mon Sep 17 00:00:00 2001 From: micronaut-build <65172877+micronaut-build@users.noreply.github.com> Date: Fri, 19 Feb 2021 03:35:09 -0500 Subject: [PATCH] [mqtt] Update common files for branch master (#55) --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0341a37d..74f5392f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,16 @@ jobs: MICRONAUT_BUILD_EMAIL: ${{ secrets.MICRONAUT_BUILD_EMAIL }} with: token: ${{ secrets.GITHUB_TOKEN }} + - name: Publish to Sonatype OSSRH + env: + SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }} + GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }} + GPG_FILE: ${{ secrets.GPG_FILE }} + run: | + echo $GPG_FILE | base64 -d > secring.gpg + ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository - name: Generate docs run: ./gradlew docs - name: Export Gradle Properties