Skip to content

Commit

Permalink
ci: updated release action to execute publish command directly
Browse files Browse the repository at this point in the history
  • Loading branch information
desusai7 committed May 27, 2024
1 parent 3037b15 commit 6687513
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/java-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,13 @@ jobs:
run: exit 1

# Publish the release to Maven
- uses: ./.github/actions/maven-publish
with:
java-version: ${{ inputs.java-version }}
is-android: ${{ inputs.is-android }}
version: ${{ steps.get_version.outputs.version }}
ossr-username: ${{ secrets.ossr-username }}
ossr-password: ${{ secrets.ossr-password }}
signing-key: ${{ secrets.signing-key }}
signing-password: ${{ secrets.signing-password }}
- name: Publish package to Maven
run: ./gradlew publish
env:
MAVEN_USERNAME: ${{ secrets.OSSR_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSR_TOKEN }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY}}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD}}

# Create a release for the tag
- uses: ./.github/actions/release-create
Expand Down

0 comments on commit 6687513

Please sign in to comment.