Skip to content

Commit

Permalink
Update publish-to-maven-central.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
psteiger authored Nov 6, 2021
1 parent 40480b0 commit 0aa91d0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish-to-maven-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@ jobs:
# Builds the release artifacts of the library
- name: Release build
run: ./gradlew :locationfetcher:assembleRelease

env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}

# Generates other artifacts (javadocJar is optional)
- name: Source jar and dokka
run: ./gradlew androidSourcesJar
Expand Down

0 comments on commit 0aa91d0

Please sign in to comment.