File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616
1717 env :
18+ MAVEN_CENTRAL_USERNAME : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
19+ MAVEN_CENTRAL_PASSWORD : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
20+ SIGNING_KEY_ID : ${{ secrets.SIGNING_KEY_ID }}
21+ SIGNING_PASSWORD : ${{ secrets.SIGNING_PASSWORD }}
1822 GPG_FILE_NAME : onesignal_sdk_gpg_subkeys.gpg
1923
2024 steps :
@@ -65,10 +69,10 @@ jobs:
6569 - name : Publish to Maven Central
6670 run : |
6771 ./gradlew publishToMavenCentral --no-configuration-cache \
68- -PmavenCentralUsername="${{ secrets. MAVEN_CENTRAL_USERNAME }} " \
69- -PmavenCentralPassword="${{ secrets. MAVEN_CENTRAL_PASSWORD }} " \
70- -Psigning.keyId="${{ secrets. SIGNING_KEY_ID }} " \
71- -Psigning.password="${{ secrets. SIGNING_PASSWORD }} " \
72+ -PmavenCentralUsername="$MAVEN_CENTRAL_USERNAME" \
73+ -PmavenCentralPassword="$MAVEN_CENTRAL_PASSWORD" \
74+ -Psigning.keyId="$SIGNING_KEY_ID" \
75+ -Psigning.password="$SIGNING_PASSWORD" \
7276 -Psigning.secretKeyRingFile="$GPG_FILE_PATH"
7377
7478 - name : Upload build artifacts
You can’t perform that action at this time.
0 commit comments