You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/01/03 13:02:51 UTC

[logging-log4j-tools] branch master updated: INFRA-23996 Try to make `maven-gpg-plugin` work, take 2

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f2312a  INFRA-23996 Try to make `maven-gpg-plugin` work, take 2
0f2312a is described below

commit 0f2312a270056a944a789ed54b91e4e5e3751d18
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Tue Jan 3 14:03:36 2023 +0100

    INFRA-23996 Try to make `maven-gpg-plugin` work, take 2
---
 .github/workflows/build.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 65d47d0..5af8e31 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -167,6 +167,7 @@ jobs:
         # For details see: https://maven.apache.org/plugins/maven-gpg-plugin/examples/deploy-signed-artifacts.html
         # `package` must precede `gpg:sign`.
         run: |
+          cat ~/.m2/settings.xml
           ./mvnw \
             --show-version --batch-mode --errors --no-transfer-progress \
             -DskipTests=true \
@@ -176,6 +177,7 @@ jobs:
         env:
           NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}
           NEXUS_PASSWORD: ${{ secrets.NEXUS_PW }}
+          GPG_PASSPHRASE: ""
 
       - name: Create artifacts (RELEASE)
         if: startsWith(github.ref, 'refs/heads/release/')