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 e9e6a2a ci(java): try to fix JAR upload again (#180)
e9e6a2a is described below
commit e9e6a2a0b4b1f350f1909d11b2606ac45a06c2ea
Author: David Li <[email protected]>
AuthorDate: Tue Nov 15 11:45:30 2022 -0500
ci(java): try to fix JAR upload again (#180)
---
.github/workflows/packaging-wheels.yml | 6 +++---
ci/scripts/java_jar_upload.sh | 1 +
java/driver/jdbc-validation-derby/pom.xml | 4 ++++
java/driver/jdbc-validation-postgresql/pom.xml | 4 ++++
4 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/packaging-wheels.yml
b/.github/workflows/packaging-wheels.yml
index 9e757b2..5a08161 100644
--- a/.github/workflows/packaging-wheels.yml
+++ b/.github/workflows/packaging-wheels.yml
@@ -41,7 +41,7 @@ jobs:
- name: Show inputs
shell: bash
run: |
- echo "upload_artifacts: ${{ github.event.inputs.upload_artifacts }}"
+ echo "upload_artifacts: ${{ inputs.upload_artifacts }}"
echo "schedule: ${{ github.event.schedule }}"
echo "ref: ${{ github.ref }}"
@@ -60,9 +60,9 @@ jobs:
- name: Upload JARs to Gemfury
shell: bash
- if: github.ref == 'refs/heads/main' && (github.event.schedule ||
github.event.inputs.upload_artifacts == true)
+ if: github.ref == 'refs/heads/main' && (github.event.schedule ||
inputs.upload_artifacts)
run: |
- ./ci/scripts/java_jar_upload.sh "$(pwd)"
+ sudo ./ci/scripts/java_jar_upload.sh "$(pwd)"
env:
GEMFURY_PUSH_TOKEN: ${{ secrets.GEMFURY_PUSH_TOKEN }}
diff --git a/ci/scripts/java_jar_upload.sh b/ci/scripts/java_jar_upload.sh
index c4d0f47..ba82237 100755
--- a/ci/scripts/java_jar_upload.sh
+++ b/ci/scripts/java_jar_upload.sh
@@ -49,6 +49,7 @@ SETTINGS
mvn \
-Dmaven.install.skip=true \
-Drat.skip=true \
+ -DskipTests \
--settings "${settings_file}" \
deploy
diff --git a/java/driver/jdbc-validation-derby/pom.xml
b/java/driver/jdbc-validation-derby/pom.xml
index c12553d..3c7ef8b 100644
--- a/java/driver/jdbc-validation-derby/pom.xml
+++ b/java/driver/jdbc-validation-derby/pom.xml
@@ -23,6 +23,10 @@
<name>Arrow ADBC Driver JDBC Validation with Derby</name>
<description>Tests validating the JDBC driver against Apache
Derby.</description>
+ <properties>
+ <maven.deploy.skip>true</maven.deploy.skip>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.arrow.adbc</groupId>
diff --git a/java/driver/jdbc-validation-postgresql/pom.xml
b/java/driver/jdbc-validation-postgresql/pom.xml
index b01625b..4b3eeff 100644
--- a/java/driver/jdbc-validation-postgresql/pom.xml
+++ b/java/driver/jdbc-validation-postgresql/pom.xml
@@ -23,6 +23,10 @@
<name>Arrow ADBC Driver JDBC Validation with PostgreSQL</name>
<description>Tests validating the JDBC driver against
Postgresql.</description>
+ <properties>
+ <maven.deploy.skip>true</maven.deploy.skip>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.arrow.adbc</groupId>