Skip to content

Commit

Permalink
ci: fixed syntactic issues in release actions (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
desusai7 authored May 28, 2024
1 parent 2f6b877 commit 9e67b2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .github/actions/maven-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Publish release to Java
inputs:
java-version:
required: true

secrets:
ossr-username:
required: true
ossr-token:
Expand Down Expand Up @@ -35,8 +33,8 @@ runs:
- name: Publish Android/Java Packages to Maven
run: ./gradlew publish -PisSnapshot=false
env:
MAVEN_USERNAME: ${{ secrets.ossr-username }}
MAVEN_PASSWORD: ${{ secrets.ossr-token }}
SIGNING_KEY: ${{ secrets.signing-key}}
SIGNING_PASSWORD: ${{ secrets.signing-password}}
MAVEN_USERNAME: ${{ inputs.ossr-username }}
MAVEN_PASSWORD: ${{ inputs.ossr-token }}
SIGNING_KEY: ${{ inputs.signing-key}}
SIGNING_PASSWORD: ${{ inputs.signing-password}}

4 changes: 2 additions & 2 deletions .github/workflows/java-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ jobs:
run: exit 1

# Publish the release to Maven
- name: Publish package to Maven
- uses: ./.github/actions/maven-publish
secrets:
with:
java-version: ${{ inputs.java-version }}
ossr-username: ${{ secrets.ossr-username }}
ossr-token: ${{ secrets.ossr-token }}
signing-key: ${{ secrets.signing-key}}
Expand Down

0 comments on commit 9e67b2a

Please sign in to comment.