ci
All checks were successful
Publish package to my Maven Repository / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 19s

This commit is contained in:
Lee 2024-04-17 21:17:56 +01:00
parent 90c1552508
commit 57b1af849d

@ -24,13 +24,18 @@ jobs:
java-version: ${{ matrix.java-version }}
distribution: "zulu"
maven-version: ${{ matrix.maven-version }}
server-id: mcutils-java-library
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
# Setup Maven settings
- name: Setup Maven settings
uses: s4u/maven-settings-action@v3.0.0
with:
servers: |
[{
"id": "mcutils-java-library",
"username": "${{ secrets.REPO_USERNAME }}",
"password": "${{ secrets.REPO_PASSWORD }}"
}]
# Publish the package
- name: Publish package
run: mvn --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.REPO_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.REPO_PASSWORD }}