Skip to content

Commit 4fb9aec

Browse files
committed
Update release workflow to not use gradle-build-action
1 parent bb1d5a7 commit 4fb9aec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@ jobs:
3434
SECRING_FILE: ${{ secrets.SECRING_FILE }}
3535
run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
3636
- name: Publish to Sonatyoe OSSRH
37-
uses: gradle/gradle-build-action@v2
3837
env:
3938
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
4039
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
4140
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
4241
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
4342
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
44-
with:
45-
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository -Psigning.secretKeyRingFile="${{ github.workspace }}/secring.gpg"
43+
run: |
44+
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Psigning.secretKeyRingFile="${GITHUB_WORKSPACE}/secring.gpg"
4645
- name: Publish Documentation
4746
uses: gradle/gradle-build-action@v2
4847
with:

0 commit comments

Comments
 (0)