File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments