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:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Generate Java docs
|
||||||
|
run: mvn -Pjavadoc -B javadoc:aggregate
|
||||||
|
|
||||||
- name: Build with Maven and deploy to Sonatype snapshot repository
|
- name: Build with Maven and deploy to Sonatype snapshot repository
|
||||||
env:
|
env:
|
||||||
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
|
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
|
||||||
|
|
@ -37,8 +40,5 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
mvn -Pjavadoc -Prelease --batch-mode --update-snapshots deploy
|
mvn -Pjavadoc -Prelease --batch-mode --update-snapshots deploy
|
||||||
|
|
||||||
- name: Generate Java docs
|
|
||||||
run: mvn -Pjavadoc -B javadoc:aggregate
|
|
||||||
|
|
||||||
- name: Capture project version
|
- name: Capture project version
|
||||||
run: echo PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version --quiet -DforceStdout) >> $GITHUB_ENV
|
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:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
|
|
|
||||||
4
pom.xml
4
pom.xml
|
|
@ -298,13 +298,13 @@
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<publishingServerId>central</publishingServerId>
|
<publishingServerId>central</publishingServerId>
|
||||||
<!-- <autoPublish>false</autoPublish> -->
|
<autoPublish>false</autoPublish>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-gpg-plugin</artifactId>
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
<version>3.1.0</version>
|
<version>3.2.7</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>sign-artifacts</id>
|
<id>sign-artifacts</id>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue