This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new e1163d2 ci(java): skip RAT check on JAR upload (#176)
e1163d2 is described below
commit e1163d2a54d151f2e3a81934637ad41baf8f0a93
Author: David Li <[email protected]>
AuthorDate: Mon Nov 14 08:17:49 2022 -0500
ci(java): skip RAT check on JAR upload (#176)
Because the first stage is run in Docker, it creates files we can
read but not overwrite.
---
.github/workflows/packaging-wheels.yml | 8 ++++++++
ci/scripts/java_jar_upload.sh | 1 +
2 files changed, 9 insertions(+)
diff --git a/.github/workflows/packaging-wheels.yml
b/.github/workflows/packaging-wheels.yml
index aee988b..9e757b2 100644
--- a/.github/workflows/packaging-wheels.yml
+++ b/.github/workflows/packaging-wheels.yml
@@ -50,6 +50,14 @@ jobs:
run: |
docker-compose run java-jars
+ - name: Archive JARs
+ uses: actions/upload-artifact@v3
+ with:
+ name: java
+ retention-days: 7
+ path: |
+ java/**/target/*.jar
+
- name: Upload JARs to Gemfury
shell: bash
if: github.ref == 'refs/heads/main' && (github.event.schedule ||
github.event.inputs.upload_artifacts == true)
diff --git a/ci/scripts/java_jar_upload.sh b/ci/scripts/java_jar_upload.sh
index cd2a9d7..c4d0f47 100755
--- a/ci/scripts/java_jar_upload.sh
+++ b/ci/scripts/java_jar_upload.sh
@@ -48,6 +48,7 @@ SETTINGS
mvn \
-Dmaven.install.skip=true \
+ -Drat.skip=true \
--settings "${settings_file}" \
deploy