Skip to content

dev: rename spring-data-dialect module #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Spring Data JDBC YDB Dialect CI with Maven
on:
push:
paths:
- 'spring-data-dialect/**'
- 'spring-data-jdbc-ydb/**'
branches:
- main
pull_request:
paths:
- 'spring-data-dialect/**'
- 'spring-data-jdbc-ydb/**'

env:
MAVEN_ARGS: --batch-mode --update-snapshots -Dstyle.color=always
Expand All @@ -33,17 +33,17 @@ jobs:
cache: maven

- name: Extract spring-data-jdbc YDB dialect version
working-directory: ./spring-data-dialect
working-directory: ./spring-data-jdbc-ydb
run: |
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
echo "SPRING_DATA_JDBC_DIALECT_VERSION=$VERSION" >> "$GITHUB_ENV"

- name: Download spring-data-jdbc YDB dialect dependencies
working-directory: ./spring-data-dialect
working-directory: ./spring-data-jdbc-ydb
run: mvn $MAVEN_ARGS dependency:go-offline

- name: Build spring-data-jdbc YDB dialect
working-directory: ./spring-data-dialect
working-directory: ./spring-data-jdbc-ydb
run: mvn $MAVEN_ARGS install

# - uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Extract spring-data-jdbc YDB dialect version
run: |
cd spring-data-dialect
cd spring-data-jdbc-ydb
SPRING_DATA_JDBC_DIALECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
echo "SPRING_DATA_JDBC_DIALECT_VERSION=SPRING_DATA_JDBC_DIALECT_VERSION" >> "$GITHUB_ENV"

Expand All @@ -43,12 +43,12 @@ jobs:

- name: Download dependencies
run: |
cd spring-data-dialect
cd spring-data-jdbc-ydb
mvn $MAVEN_ARGS dependency:go-offline

- name: Build with Maven
run: |
cd spring-data-dialect
cd spring-data-jdbc-ydb
mvn $MAVEN_ARGS package

publish:
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:

- name: Publish package
run: |
cd spring-data-dialect
cd spring-data-jdbc-ydb
mvn $MAVEN_ARGS -Possrh-s01 -Dgpg.passphrase=${{ secrets.MAVEN_OSSRH_GPG_PASSWORD }} clean deploy
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_OSSRH_USERNAME }}
Expand Down
1 change: 0 additions & 1 deletion spring-data-dialect/README.md

This file was deleted.

1 change: 1 addition & 0 deletions spring-data-jdbc-ydb/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# YDB Spring Data JDBC Dialect
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>tech.ydb.dialects</groupId>
<artifactId>spring-data-jdbc-ydb-dialect</artifactId>
<artifactId>spring-data-jdbc-ydb</artifactId>
<version>0.9.1</version>

<name>Spring Data JDBC YDB Dialect</name>
Expand Down