Skip to content

Commit

Permalink
Update config / workflow for deploy (#12)
Browse files Browse the repository at this point in the history
Motivation:

We had some outdated config for deploying snapshots

Modifications:

- Adjust config
- Update plugin

Result:

Be able to deploy snapshots again
  • Loading branch information
normanmaurer committed Mar 4, 2024
1 parent 52963df commit 1a64076
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
with:
servers: |
[{
"id": "sonatype-nexus-snapshots",
"username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"
"id": "sonatype-nexus-snapshots",
"username": "${{ secrets.SONATYPE_USERNAME }}",
"password": "${{ secrets.SONATYPE_PASSWORD }}"
}]
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,14 @@
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<!-- Automatically release the artifacts after the verification was complete -->
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 1a64076

Please sign in to comment.