mirror of
https://github.com/gnmyt/LicenseAPI.git
synced 2026-01-11 10:41:46 +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
|
- name: Build and deploy
|
||||||
if: steps.version_check.outputs.LAST_VERSION != steps.get_version.outputs.VERSION || steps.version_check.outputs.LAST_VERSION == ''
|
if: steps.version_check.outputs.LAST_VERSION != steps.get_version.outputs.VERSION || steps.version_check.outputs.LAST_VERSION == ''
|
||||||
run: |
|
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 \
|
mvn -f integrations/java/pom.xml deploy \
|
||||||
-DskipTests \
|
-DskipTests \
|
||||||
-DaltDeploymentRepository=github::default::https://maven.pkg.github.com/${{ github.repository }} \
|
-DaltDeploymentRepository=github::default::https://maven.pkg.github.com/${{ github.repository }}
|
||||||
-Dusername=${{ secrets.GITHUB_ACTOR }} \
|
|
||||||
-Dpassword=${{ secrets.GITHUB_TOKEN }}
|
|
||||||
Reference in New Issue
Block a user