Skip to content

Commit

Permalink
Clarify and reformat publishing command
Browse files Browse the repository at this point in the history
  • Loading branch information
vprus committed Oct 17, 2024
1 parent 872994c commit 51f6a39
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@ jobs:

- name: Upload Artifacts
if: contains(github.ref, '/tags/v') && matrix.spark == '3.5.0'
run: |
./gradlew publishMavenPublicationToSonatypeRepository \
-Dorg.gradle.parallel=false \
-Pscala.version=${{ matrix.scala }} \
-Pspark.version=${{ matrix.spark}} \
-Ppublication.repository.maven.name=Sonatype \
-Ppublication.repository.maven.url=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ \
-Ppublication.repository.maven.username=${{ secrets.SONATYPE_USERNAME }} \
-Ppublication.repository.maven.password=${{ secrets.SONATYPE_PASSWORD }} \
-Ppublication.signing.keyId=${{ secrets.SIGNING_KEY_ID }} \
-Ppublication.signing.password=${{ secrets.SIGNING_PASSWORD }} \
run: >
./gradlew publishMavenPublicationToSonatypeRepository
# In Parallel mode, more than one repository will be created in sonatype, each incomplete
-Dorg.gradle.parallel=false
-Pscala.version=${{ matrix.scala }}
-Pspark.version=${{ matrix.spark}}
-Ppublication.repository.maven.name=Sonatype
-Ppublication.repository.maven.url=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
-Ppublication.repository.maven.username=${{ secrets.SONATYPE_USERNAME }}
-Ppublication.repository.maven.password=${{ secrets.SONATYPE_PASSWORD }}
-Ppublication.signing.keyId=${{ secrets.SIGNING_KEY_ID }}
-Ppublication.signing.password=${{ secrets.SIGNING_PASSWORD }}
-Ppublication.signing.secretKey='${{ secrets.SIGNING_SECRET_KEY }}' -i

0 comments on commit 51f6a39

Please sign in to comment.