Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas
Created January 21, 2022 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PatilShreyas/85e450a7890813f2981fe9a4476866d4 to your computer and use it in GitHub Desktop.
Save PatilShreyas/85e450a7890813f2981fe9a4476866d4 to your computer and use it in GitHub Desktop.
- name: Publish Library
run: |
./gradlew publish --no-daemon --no-parallel
./gradlew closeAndReleaseRepository
env:
ORG_GRADLE_PROJECT_VERSION_NAME: ${{ github.event.inputs.versionName }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_PASSWORD }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment