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
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:
parent
90c1552508
commit
57b1af849d
@ -24,13 +24,18 @@ jobs:
|
|||||||
java-version: ${{ matrix.java-version }}
|
java-version: ${{ matrix.java-version }}
|
||||||
distribution: "zulu"
|
distribution: "zulu"
|
||||||
maven-version: ${{ matrix.maven-version }}
|
maven-version: ${{ matrix.maven-version }}
|
||||||
server-id: mcutils-java-library
|
|
||||||
server-username: MAVEN_USERNAME
|
# Setup Maven settings
|
||||||
server-password: MAVEN_PASSWORD
|
- 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
|
# Publish the package
|
||||||
- name: Publish package
|
- name: Publish package
|
||||||
run: mvn --batch-mode deploy
|
run: mvn --batch-mode deploy
|
||||||
env:
|
|
||||||
MAVEN_USERNAME: ${{ secrets.REPO_USERNAME }}
|
|
||||||
MAVEN_PASSWORD: ${{ secrets.REPO_PASSWORD }}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user