Skip to content

Commit 7f2012d

Browse files
authored
Update build.yml
1 parent 955642e commit 7f2012d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,9 @@ jobs:
5757
cache: "maven"
5858
- name: Build and install libraries
5959
run: mvn --batch-mode --no-transfer-progress --show-version --strict-checksums --threads 2 -Dmaven.wagon.rto=30000 -Dj8 -DskipITs install
60-
- name: List local repo
60+
- name: Create Archive with JDBC Artifact
6161
run: |
62-
ls -l $HOME/.m2/;
63-
ls -l $HOME/.m2/repository/;
64-
ls -l $HOME/.m2/repository/com/clickhouse/;
62+
tar cvfz clickhouse-jdbc.tar.gz -C $HOME/.m2/repository/com/clickhouse/clickhouse-jdbc/ .
6563
- name: Compile examples
6664
run: |
6765
export LIB_VER=$(grep '<revision>' pom.xml | sed -e 's|[[:space:]]*<[/]*revision>[[:space:]]*||g')
@@ -74,7 +72,7 @@ jobs:
7472
uses: actions/upload-artifact@v4
7573
with:
7674
name: clickhouse-jdbc-archive
77-
path: $HOME/.m2/repository/com/clickhouse/clickhouse-jdbc/**
75+
path: clickhouse-jdbc.tar.gz
7876
retention-days: 5
7977

8078
# test-multi-env:

0 commit comments

Comments
 (0)