Skip to content

Commit 0aa91d0

Browse files
authored
Update publish-to-maven-central.yml
1 parent 40480b0 commit 0aa91d0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/publish-to-maven-central.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@ jobs:
2121
# Builds the release artifacts of the library
2222
- name: Release build
2323
run: ./gradlew :locationfetcher:assembleRelease
24-
24+
env:
25+
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
26+
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
27+
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
28+
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
29+
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
30+
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
31+
2532
# Generates other artifacts (javadocJar is optional)
2633
- name: Source jar and dokka
2734
run: ./gradlew androidSourcesJar

0 commit comments

Comments
 (0)