Skip to content

Commit

Permalink
Sign in publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
jdelga committed Dec 5, 2024
1 parent 0e98384 commit f7adfdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
java-version: '17'

- name: Build library
run: 'bash ./gradlew clean :library:assembleRelease :library:signReleasePublication :library:signNoopPublication'
run: 'bash ./gradlew clean :library:assembleRelease'

- name: Release library
env:
Expand All @@ -25,5 +25,5 @@ jobs:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID }}
run: "bash ./gradlew publishReleasePublicationToSonatypeRepository -DSNAPSHOT_VERSION=${{ github.event.release.tag_name }} publishNoopPublicationToSonatypeRepository -DLIBRARY_VERSION=${{ github.event.release.tag_name }}
run: "bash ./gradlew :library:signReleasePublication :library:signNoopPublication publishReleasePublicationToSonatypeRepository -DSNAPSHOT_VERSION=${{ github.event.release.tag_name }} publishNoopPublicationToSonatypeRepository -DLIBRARY_VERSION=${{ github.event.release.tag_name }}
--max-workers 1 closeAndReleaseStagingRepositories"

0 comments on commit f7adfdb

Please sign in to comment.