forked from pgjdbc/pgjdbc
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 1.06 KB
/
debezium.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Test Debezium
# only on push or allow us to do this manually using workflow dispatch
on: [workflow_dispatch]
permissions:
contents: read
jobs:
snapshot:
name: Debezium
runs-on: ubuntu-22.04
#only for master
if: ${{ github.ref == 'refs/heads/master' }}
env:
ACTIONS_STEP_DEBUG: true
ACTIONS_RUNNER_DEBUG: true
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 50
- name: 'Set up JDK 17'
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- uses: burrunan/gradle-cache-action@v2
name: Publish Snapshot
with:
job-id: jdk8
arguments: postgresql:publishToMavenLocal -Ppgjdbc.version=1.0.0-dev-master -PskipJavadoc
- name: clone debezium and run tests
run: |
git clone --depth 1 https://github.com/debezium/debezium.git
cd debezium
mvn clean verify -pl :debezium-connector-postgres -am -Dversion.postgres.server=14 -Dversion.postgresql.driver=1.0.0-dev-master-SNAPSHOT