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 f02f19e  Import GPG key in CI only for releases.
f02f19e is described below

commit f02f19e2ffb566fefe320289ca1e800c124fadf8
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Fri Dec 2 08:42:10 2022 +0100

    Import GPG key in CI only for releases.
---
 .github/workflows/build.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7305d2e..f62722e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -95,7 +95,8 @@ jobs:
           architecture: x64
           cache: maven
 
-      - name: Import GPG private key
+      - name: Import GPG private key (RELEASE)
+        if: startsWith(github.ref, 'refs/heads/release/')
         run: |
           echo -n "$GPG_PKEY" \
           | base64 --decode \

Reply via email to