From f010d826a601a406dca0450bb979f5557296cc15 Mon Sep 17 00:00:00 2001 From: Steve Hannah Date: Tue, 19 Apr 2022 09:10:40 -0700 Subject: [PATCH] Update release-on-maven-central.yml --- .github/workflows/release-on-maven-central.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-on-maven-central.yml b/.github/workflows/release-on-maven-central.yml index 6eb544e19d..fed1cfc83c 100644 --- a/.github/workflows/release-on-maven-central.yml +++ b/.github/workflows/release-on-maven-central.yml @@ -31,12 +31,12 @@ jobs: cd maven bash update-version.sh "$GITHUB_REF_NAME" export GPG_TTY=$(tty) - mvn deploy -Psign-artifacts -Dgpg.passphrase=$MAVEN_GPG_PASSPHRASE + xvfb-run -a mvn deploy -Psign-artifacts -Dgpg.passphrase=$MAVEN_GPG_PASSPHRASE cd .. git clone https://github.com/shannah/cn1-maven-archetypes cd cn1-maven-archetypes bash update-version.sh "$GITHUB_REF_NAME" - mvn deploy -Psign-artifacts -Dgpg.passphrase=$MAVEN_GPG_PASSPHRASE + xvfb-run -a mvn deploy -Psign-artifacts -Dgpg.passphrase=$MAVEN_GPG_PASSPHRASE env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}