Update pom and GH actions
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
This commit is contained in:
parent
01aa720862
commit
dfe576b461
3 changed files with 5 additions and 8 deletions
6
.github/workflows/continuous-integration.yml
vendored
6
.github/workflows/continuous-integration.yml
vendored
|
|
@ -29,6 +29,9 @@ jobs:
|
|||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Generate Java docs
|
||||
run: mvn -Pjavadoc -B javadoc:aggregate
|
||||
|
||||
- name: Build with Maven and deploy to Sonatype snapshot repository
|
||||
env:
|
||||
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
|
||||
|
|
@ -37,8 +40,5 @@ jobs:
|
|||
run: |
|
||||
mvn -Pjavadoc -Prelease --batch-mode --update-snapshots deploy
|
||||
|
||||
- name: Generate Java docs
|
||||
run: mvn -Pjavadoc -B javadoc:aggregate
|
||||
|
||||
- name: Capture project version
|
||||
run: echo PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version --quiet -DforceStdout) >> $GITHUB_ENV
|
||||
|
|
|
|||
3
.github/workflows/maven-central-release.yml
vendored
3
.github/workflows/maven-central-release.yml
vendored
|
|
@ -2,9 +2,6 @@ name: Release to Maven Central
|
|||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
|
|
|
|||
4
pom.xml
4
pom.xml
|
|
@ -298,13 +298,13 @@
|
|||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<publishingServerId>central</publishingServerId>
|
||||
<!-- <autoPublish>false</autoPublish> -->
|
||||
<autoPublish>false</autoPublish>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<version>3.2.7</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
|
|
|
|||
Loading…
Reference in a new issue