Skip to content

Commit b29d6ca

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

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ 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: Create Archive with JDBC Artifact
60+
- name: Copy Artifacts to Build dir
6161
run: |
62-
tar cvfz clickhouse-jdbc.tar.gz -C $HOME/.m2/repository/com/clickhouse/clickhouse-jdbc/ .
62+
mkdir clickhouse-jdbc-artifacts
63+
cp -rf $HOME/.m2/repository/com/clickhouse/clickhouse-jdbc/* ./clickhouse-jdbc-artifacts/
6364
- name: Compile examples
6465
run: |
6566
export LIB_VER=$(grep '<revision>' pom.xml | sed -e 's|[[:space:]]*<[/]*revision>[[:space:]]*||g')
@@ -72,7 +73,7 @@ jobs:
7273
uses: actions/upload-artifact@v4
7374
with:
7475
name: clickhouse-jdbc-archive
75-
path: clickhouse-jdbc.tar.gz
76+
path: clickhouse-jdbc-artifacts/
7677
retention-days: 5
7778

7879
# test-multi-env:

0 commit comments

Comments
 (0)