Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Deploy build needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Delporte committed Dec 14, 2022
1 parent 82ff66d commit 40b72fd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ jobs:
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

# Prepare for upload to Maven Central
# https://jreleaser.org/guide/latest/examples/maven/staging-artifacts.html
- name: Build for release
run: |
mvn -ntp -B -Ppublication deploy -DaltDeploymentRepository=local::file:./target/staging-deploy
- name: List files staged for release
run: |
ls -laR ./target/staging-deploy
# Post JARs to Maven Central
# https://jreleaser.org/guide/latest/examples/maven/maven-central.html
- name: Release to Maven Central
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down

0 comments on commit 40b72fd

Please sign in to comment.