Skip to content

Commit

Permalink
fix: update workflows and pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
martinalbert committed Jun 21, 2024
1 parent a5161db commit dd1d159
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
distribution: 'adopt'
cache: 'maven'
cache-dependency-path: ./pom.xml
server-id: central # This id should match with the id in your pom.xml or settings.xml
server-id: ossrh # This id should match with the id in your pom.xml or settings.xml
server-username: ${{ secrets.OSSRH_USER_TOKEN }}
server-password: ${{ secrets.OSSRH_PWD_TOKEN }}
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ permissions:
name: release-please

jobs:
test:
uses: ./.github/workflows/test.yml

release-please:
runs-on: ubuntu-22.04
needs: test
steps:
- uses: google-github-actions/[email protected]
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python Tests
name: Java Tests

on:
workflow_call:
Expand Down
12 changes: 1 addition & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
</build>
</profile>
</profiles>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down Expand Up @@ -203,17 +204,6 @@
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
Expand Down

0 comments on commit dd1d159

Please sign in to comment.