diff --git a/.github/workflows/push_trigger.yml b/.github/workflows/push_trigger.yml index 901d819ba4b..82bf4822b09 100644 --- a/.github/workflows/push_trigger.yml +++ b/.github/workflows/push_trigger.yml @@ -56,7 +56,7 @@ jobs: run: echo " ossrh ${{secrets.ossrh_user}} ${{secrets.ossrh_secret}} ossrh true gpg2 ${{secrets.gpg_secret}} allow-snapshots true snapshots-repo https://oss.sonatype.org/content/repositories/snapshots false true releases-repo https://oss.sonatype.org/service/local/staging/deploy/maven2 true false sonar . https://sonarcloud.io false " > $GITHUB_WORKSPACE/settings.xml - name: Build with Maven - run: mvn -B package -DskipTests --file pom.xml -s $GITHUB_WORKSPACE/settings.xml + run: mvn -B package --file pom.xml -s $GITHUB_WORKSPACE/settings.xml - name: Ready the springboot artifacts run: find -name '*.jar' -executable -type f -exec zip release.zip {} + @@ -117,7 +117,7 @@ jobs: - name: Publish the maven package run: | - mvn -B deploy -DskipTests -DaltDeploymentRepository=ossrh::default::${{ secrets.OSSRH_SNAPSHOT_URL }} -s $GITHUB_WORKSPACE/settings.xml -f pom.xml + mvn -B deploy -DaltDeploymentRepository=ossrh::default::${{ secrets.RELEASE_URL }} -s $GITHUB_WORKSPACE/settings.xml -f pom.xml env: GITHUB_TOKEN: ${{secrets.RELEASE_TOKEN}} GPG_TTY: $(tty)