Skip to content

Commit 9af8fc1

Browse files
committed
Pass Distribution Management from the CLI
Signed-off-by: Trevor Bramwell <[email protected]>
1 parent 6812316 commit 9af8fc1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
- name: Publish GitHub Packages
3030
run: |
3131
mvn $MAVEN_CLI_OPTS \
32-
deploy
32+
deploy \
33+
-D altDeploymentRepository=release::default::${MAVEN_RELEASE_REPOSITORY}
3334
env:
3435
MAVEN_RELEASE_REPO_USER: ${{ GITHUB_ACTOR }}
3536
MAVEN_RELEASE_REPO_PASS: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)