Skip to content

Commit a0feda6

Browse files
committed
added version
1 parent e1e7e1d commit a0feda6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/run_examples.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ concurrency:
77
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.number || github.sha }}
88
cancel-in-progress: true
99

10+
env:
11+
PREFERRED_LTS_VERSION: "24.3"
12+
1013
jobs:
1114
compile:
1215
runs-on: ubuntu-latest
@@ -57,7 +60,7 @@ jobs:
5760
key: ${{ github.run_id }}-ch-artifacts
5861
- name: Run Examples
5962
run: |
60-
docker run -d --name demo-service-db -e CLICKHOUSE_USER=default -e CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1 -e CLICKHOUSE_PASSWORD=secret -p 8123:8123 clickhouse/clickhouse-server:24.8
63+
docker run -d --name demo-service-db -e CLICKHOUSE_USER=default -e CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1 -e CLICKHOUSE_PASSWORD=secret -p 8123:8123 clickhouse/clickhouse-server:${$PREFERRED_LTS_VERSION}
6164
cd examples/jdbc
6265
mvn --batch-mode --no-transfer-progress --show-version clean compile
6366
mvn exec:java -Dexec.mainClass="com.clickhouse.examples.jdbc.Basic" -DchPassword=secret -DfailOnError=true

0 commit comments

Comments
 (0)