Skip to content

Commit f26a04c

Browse files
committed
Need to specifically deploy Oracle client with Java 17
1 parent 1fe0a83 commit f26a04c

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on:
88
jdk:
99
default: 8
1010
type: string
11+
env:
12+
VERTX_NEXUS_USERNAME: ${{ secrets.VERTX_NEXUS_USERNAME }}
13+
VERTX_NEXUS_PASSWORD: ${{ secrets.VERTX_NEXUS_PASSWORD }}
1114
jobs:
1215
Deploy:
1316
name: Deploy to OSSRH
1417
runs-on: ubuntu-latest
15-
env:
16-
VERTX_NEXUS_USERNAME: ${{ secrets.VERTX_NEXUS_USERNAME }}
17-
VERTX_NEXUS_PASSWORD: ${{ secrets.VERTX_NEXUS_PASSWORD }}
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v2
@@ -29,4 +29,22 @@ jobs:
2929
run: echo "PROJECT_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:evaluate -Dexpression=project.version -B | grep -v '\[')" >> $GITHUB_ENV
3030
- name: Maven deploy
3131
if: ${{ endsWith(env.PROJECT_VERSION, '-SNAPSHOT') }}
32-
run: mvn deploy -s .github/maven-cd-settings.xml -DskipTests -B
32+
run: mvn deploy -s .github/maven-cd-settings.xml -DskipTests -B -pl vertx-sql-client,vertx-pg-client,vertx-mysql-client,vertx-mssql-client,vertx-db2-client,vertx-sql-client-templates
33+
Deploy (Oracle):
34+
name: Deploy (Oracle) to OSSRH
35+
runs-on: ubuntu-latest
36+
steps:
37+
- name: Checkout
38+
uses: actions/checkout@v2
39+
with:
40+
ref: ${{ inputs.branch }}
41+
- name: Install JDK
42+
uses: actions/setup-java@v2
43+
with:
44+
java-version: 17
45+
distribution: temurin
46+
- name: Get project version
47+
run: echo "PROJECT_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:evaluate -Dexpression=project.version -B | grep -v '\[')" >> $GITHUB_ENV
48+
- name: Maven deploy
49+
if: ${{ endsWith(env.PROJECT_VERSION, '-SNAPSHOT') }}
50+
run: mvn deploy -s .github/maven-cd-settings.xml -DskipTests -B -pl vertx-oracle-client

0 commit comments

Comments
 (0)