diff --git a/.github/workflows/gradle-master.yml b/.github/workflows/gradle-master.yml index 564c4bdd..5ca9523f 100644 --- a/.github/workflows/gradle-master.yml +++ b/.github/workflows/gradle-master.yml @@ -31,8 +31,11 @@ jobs: run: | ./gradlew build \ publishAllPublicationsToSonatypeSnapshotsRepository \ - -PossrhUsername=ignore \ - -PossrhPassword=ignore2 \ + -PossrhUsername=$OSSRH_USERNAME \ + -PossrhPassword=$OSSRH_PASSWORD \ + -Psigning.keyId=$KEY_ID \ + -Psigning.password=$PASSWORD \ + -Psigning.secretKeyRingFile=$(realpath ./secring.gpg) \ -PskipSigning=false dependency-submission: runs-on: ubuntu-latest