Skip to content

Commit

Permalink
removed maven central from the github action
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed May 7, 2024
1 parent ac51aff commit dd7d519
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,6 @@ jobs:
contents: read
packages: write

steps:
- uses: actions/checkout@v4
- name: Set up Java for publishing to Maven Central Repository
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD

- name: Publish to the Maven Central Repository
run: mvn --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

- name: Set up Java for publishing to GitHub Packages
uses: actions/setup-java@v4
with:
Expand Down

0 comments on commit dd7d519

Please sign in to comment.