diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 5ff7a59..16de299 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -44,10 +44,15 @@ jobs: SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }} GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }} - run: > - ./gradlew final closeAndReleaseSonatypeStagingRepository --stacktrace - -Prelease.version=${{ github.event.inputs.version }} - "-Porg.gradle.java.installations.paths=${{ steps.setup-java-17.outputs.path }}" + run: | + # user.name and user.email are required by the nebula plugin + git config user.name otelbot + git config user.email 197425009+otelbot@users.noreply.github.com + + ./gradlew final closeAndReleaseSonatypeStagingRepository \ + --stacktrace \ + -Prelease.version=${{ github.event.inputs.version }} \ + "-Porg.gradle.java.installations.paths=${{ steps.setup-java-17.outputs.path }}" - name: Create Release env: