Skip to content

Commit

Permalink
Update maven-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ImaMapleTree committed Aug 21, 2023
1 parent 76c4be3 commit daa1fd0
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/maven-publish.yml
Expand Up @@ -20,8 +20,20 @@ jobs:
- uses: actions/checkout@v3




- name: Set up Java for publishing to GitHub Packages
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Publish to GitHub Packages
run: |
mvn \
-DaltReleaseDeploymentRepository=github::https://maven.pkg.github.com/leona-framework/leona-mvc \
-Dgithub-release=true --batch-mode deploy --file ./leona-mvc-parent/pom.xml
env:
GITHUB_TOKEN: ${{ github.token }}


- name: Set up Java for publishing to Maven Central
uses: actions/setup-java@v3
with:
Expand Down

0 comments on commit daa1fd0

Please sign in to comment.