mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-10 10:11:47 +00:00
Fix deploy-java.yml workflow
This commit is contained in:
6
.github/workflows/deploy-java.yml
vendored
6
.github/workflows/deploy-java.yml
vendored
@ -47,8 +47,8 @@ jobs:
|
||||
- name: Build and deploy
|
||||
if: steps.version_check.outputs.LAST_VERSION != steps.get_version.outputs.VERSION || steps.version_check.outputs.LAST_VERSION == ''
|
||||
run: |
|
||||
mkdir ~/.m2
|
||||
echo "<settings><servers><server><id>github</id><username>${{ github.actor }}</username><password>${{ github.token }}</password></server></servers></settings>" > ~/.m2/settings.xml
|
||||
mvn -f integrations/java/pom.xml deploy \
|
||||
-DskipTests \
|
||||
-DaltDeploymentRepository=github::default::https://maven.pkg.github.com/${{ github.repository }} \
|
||||
-Dusername=${{ secrets.GITHUB_ACTOR }} \
|
||||
-Dpassword=${{ secrets.GITHUB_TOKEN }}
|
||||
-DaltDeploymentRepository=github::default::https://maven.pkg.github.com/${{ github.repository }}
|
||||
Reference in New Issue
Block a user