Skip to content

Commit

Permalink
dev: rename spring-data-dialect module (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillKurdyukov authored Aug 27, 2024
1 parent d47c4b3 commit 1324acc
Show file tree
Hide file tree
Showing 36 changed files with 11 additions and 11 deletions.
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

0 comments on commit 1324acc

Please sign in to comment.