Skip to content

Commit

Permalink
add setup step for central maven repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
MilkywayPirate committed Jan 19, 2024
1 parent 5557a40 commit af03ccd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,17 @@ jobs:
project: maven
custom-command: cd concordium-sdk && mvn javadoc:javadoc -f pom.xml # Generates javadoc from the delombok'ed code

# Setup maven central repository
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD

# Publish the artifact to the central maven repository.
- name: Publish package to central maven repository
run: mvn --batch-mode deploy
env:
Expand Down

0 comments on commit af03ccd

Please sign in to comment.