Skip to content

Commit

Permalink
Update pom and GH actions
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Tzolov <[email protected]>
  • Loading branch information
tzolov committed Feb 14, 2025
1 parent 01aa720 commit dfe576b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 changes: 0 additions & 3 deletions .github/workflows/maven-central-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Release to Maven Central

on:
workflow_dispatch:
push:
tags:
- 'v*'

jobs:
publish:
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit dfe576b

Please sign in to comment.