You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2021/01/03 09:39:48 UTC
[orc] branch branch-1.5 updated: ORC-708: Use maven command
directly (#598)
This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-1.5
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-1.5 by this push:
new 8b83562 ORC-708: Use maven command directly (#598)
8b83562 is described below
commit 8b83562a6b85c76183413c225b5339e84153379a
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Sun Jan 3 01:01:15 2021 -0800
ORC-708: Use maven command directly (#598)
### What changes were proposed in this pull request?
This PR aims to use `maven deploy` directly.
### Why are the changes needed?
Apache repository doesn't allow 3rd party GitHub Action script.
### How was this patch tested?
Tested locally.
(cherry picked from commit f6b6b2ea70f1b74e2ffd897e8985ffcd1c082582)
Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
.github/workflows/publish_snapshot.yml | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/publish_snapshot.yml b/.github/workflows/publish_snapshot.yml
index ddfe886..6fad46b 100644
--- a/.github/workflows/publish_snapshot.yml
+++ b/.github/workflows/publish_snapshot.yml
@@ -16,10 +16,11 @@ jobs:
with:
java-version: 8
- - name: Release Maven package
- uses: samuelmeuli/action-maven-publish@v1
- with:
- directory: java
- server_id: apache.snapshots.https
- nexus_username: ${{ secrets.NEXUS_USER }}
- nexus_password: ${{ secrets.NEXUS_PW }}
+ - name: Publish snapshot
+ env:
+ ASF_USERNAME: ${{ secrets.NEXUS_USER }}
+ ASF_PASSWORD: ${{ secrets.NEXUS_PW }}
+ run: |
+ cd java
+ echo "<settings><servers><server><id>apache.snapshots.https</id><username>$ASF_USERNAME</username><password>$ASF_PASSWORD</password></server></servers></settings>" > settings.xml
+ mvn --settings settings.xml -DskipTests deploy