diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 4345480d4..08bd21b52 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -47,7 +47,7 @@ jobs: GITHUB_REPO: ${{ github.repository }} - name: Publish to GitHub Packages Apache Maven - run: ./mvnw -B -s $GITHUB_WORKSPACE/settings.xml -Dgithub.repository=$GITHUB_REPO -DskipTests=true deploy + run: ./mvnw -B -s $GITHUB_WORKSPACE/settings.xml -Dgithub.repository=$GITHUB_REPO -DskipTests=true -P release deploy env: GITHUB_TOKEN: ${{ github.token }} GITHUB_REPO: ${{ github.repository }}