Skip to content

Commit

Permalink
Update maven-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsBodewig authored Jan 14, 2024
1 parent 76a9121 commit 4f1954e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Selecting-a-Java-distribution
# Builds the project with Maven Wrapper using the 'release' profile and publishes to Maven Central
# ---
# Add the following Github secrets from your Secret Manager
# - MAVEN_USERNAME: your Sonatype username
# - MAVEN_CENTRAL_TOKEN: an Access Token generated in your Sonatype profile
# - MAVEN_GPG_PASSPHRASE: your GPG passphrase
# - MAVEN_GPG_PRIVATE_KEY: your GPG private key

name: Maven Package
name: Maven Publish
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4f1954e

Please sign in to comment.