Skip to content

Commit

Permalink
enable maven deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
jann0k committed Dec 11, 2024
1 parent 668be95 commit 916044e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path

name: Publish to cdoc2-shares-server GitHub Packages Apache Maven (Maven repository)
name: Publish to cdoc2-shares-server GitHub Packages (Maven and Container)

on:
release:
Expand All @@ -28,10 +28,9 @@ jobs:
# Here: deploy for each submodule is necessary
# to deploy submodules even when main module didn't change
- name: Publish to GitHub Packages Apache Maven
if: false
if: true
run: |
mvn deploy -Dmaven.test.skip=true -s $GITHUB_WORKSPACE/settings.xml
mvn -f shared-crypto deploy -Dmaven.test.skip=true -s $GITHUB_WORKSPACE/settings.xml
mvn -f server-openapi deploy -Dmaven.test.skip=true -s $GITHUB_WORKSPACE/settings.xml
mvn -f server-db deploy -Dmaven.test.skip=true -s $GITHUB_WORKSPACE/settings.xml
mvn -f shares-server deploy -Dmaven.test.skip=true -s $GITHUB_WORKSPACE/settings.xml
Expand Down Expand Up @@ -68,5 +67,3 @@ jobs:
TAG: ${{ github.event.release.tag_name }}
# use open-eid Maven repo for dependencies download, see pom.xml
MAVEN_REPO: open-eid/cdoc2-shares-server


0 comments on commit 916044e

Please sign in to comment.