Skip to content

Commit bc9bfa0

Browse files
author
HuaweiCloud Developer
committed
2 parents d6cf7b3 + fb9c25f commit bc9bfa0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,34 @@ jobs:
1212
if: github.repository == 'HuaweiCloudDeveloper/gaussdb-flink-connector-jdbc'
1313
runs-on: ubuntu-latest
1414
environment: gaussdb-flink-connector-jdbc-build
15+
1516
steps:
1617
- uses: actions/checkout@v4
18+
1719
- name: Set up JDK 17
1820
uses: actions/setup-java@v4
1921
with:
2022
java-version: 17
2123
distribution: adopt
2224
cache: maven
25+
2326
- name: Set up Maven
2427
uses: stCarolas/setup-maven@v5
2528
with:
2629
maven-version: 3.9.9
30+
2731
- uses: actions/cache@v4
2832
with:
2933
path: ~/.m2/repository
3034
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
3135
restore-keys: |
3236
${{ runner.os }}-maven-
37+
3338
- name: Build with Maven
3439
env:
3540
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
3641
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
3742
GPG_KEY_BASE64: ${{ secrets.GPG_KEY_BASE64 }}
3843
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
39-
run: mvn -B deploy -P snapshot -s settings.xml
44+
run: mvn -B clean deploy -P central -s settings.xml
45+
#run: mvn -B deploy -P snapshot -s settings.xml

0 commit comments

Comments
 (0)