diff --git a/.github/workflows/deploy-java.yml b/.github/workflows/deploy-java.yml index 586fb21..7578559 100644 --- a/.github/workflows/deploy-java.yml +++ b/.github/workflows/deploy-java.yml @@ -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 "github${{ github.actor }}${{ github.token }}" > ~/.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 }} \ No newline at end of file + -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/${{ github.repository }} \ No newline at end of file