Skip to content

Commit

Permalink
Fix release CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
ihostage committed Oct 15, 2024
1 parent 4a18ca1 commit 2cbbd9c
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/publish-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,16 @@ jobs:
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}

- name: Publish Releases
run: >-
./gradlew --no-daemon version publishToSonatype closeAndReleaseSonatypeStagingRepository -x test
-PscalaBinaryVersion=${{ matrix.scala }}
-Psigning.gnupg.keyName=$GPG_KEY_ID
-Psigning.gnupg.passphrase="$GPG_PASSPHRASE"
-PsonatypeUsername="$OSSRH_USERNAME"
-PsonatypePassword="$OSSRH_TOKEN"
run: |-
git for-each-ref refs/tags
git log | head
./gradlew --no-daemon version
# ./gradlew --no-daemon version publishToSonatype closeAndReleaseSonatypeStagingRepository -x test
# -PscalaBinaryVersion=${{ matrix.scala }}
# -Psigning.gnupg.keyName=$GPG_KEY_ID
# -Psigning.gnupg.passphrase="$GPG_PASSPHRASE"
# -PsonatypeUsername="$OSSRH_USERNAME"
# -PsonatypePassword="$OSSRH_TOKEN"
env:
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
Expand Down

0 comments on commit 2cbbd9c

Please sign in to comment.