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 12:18:34 UTC
[logging-log4j-tools] branch master updated: INFRA-23996 Fix `actions/setup-java` usage typo
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 acc66a1 INFRA-23996 Fix `actions/setup-java` usage typo
acc66a1 is described below
commit acc66a153286f1ed6f7e2fd7eea6ccd28c941a4f
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Tue Jan 3 13:19:31 2023 +0100
INFRA-23996 Fix `actions/setup-java` usage typo
---
.github/workflows/build.yml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0c76b76..dd954c0 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -118,8 +118,8 @@ jobs:
architecture: x64
cache: maven
server-id: ${{ github.ref == 'refs/heads/master' && 'apache.snapshots.https' || 'apache.releases.https' }}
- server-username: ${{ secrets.NEXUS_USER }}
- server-password: ${{ secrets.NEXUS_PW }}
+ server-username: NEXUS_USERNAME
+ server-password: NEXUS_PASSWORD
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}
- name: Export artifact version
@@ -173,6 +173,9 @@ jobs:
-DinstallAtEnd=true \
-DdeployAtEnd=true \
package gpg:sign install:install deploy:deploy
+ env:
+ NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}
+ NEXUS_PASSWORD: ${{ secrets.NEXUS_PW }}
- name: Create artifacts (RELEASE)
if: startsWith(github.ref, 'refs/heads/release/')