Skip to content

Commit

Permalink
ci: fix publish pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
petarTxFusion committed Mar 16, 2024
1 parent 054479c commit 80d6dbf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/manual_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
echo "Ref $REF is not a tag."
exit 1
fi
VERSION=${REF:1}
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
Expand All @@ -33,11 +35,11 @@ jobs:
- name: Build with Gradle
run: gradle build -x test
env:
VERSION: ${{ github.event.inputs.release-tag }}
VERSION: ${{ env.VERSION }}
- name: Publish package
run: gradle -x test clean build sign publish publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
VERSION: ${{ github.event.inputs.release-tag }}
VERSION: ${{ env.VERSION }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.PASSPHRASE }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.OSSRH_USERNAME }}
Expand Down

0 comments on commit 80d6dbf

Please sign in to comment.