Skip to content

Commit 88863fc

Browse files
committed
Publish snapshot credentials scoped with ID only
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
1 parent f839537 commit 88863fc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎.github/workflows/publish-snapshot.yml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ jobs:
4141
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
4242
MAVEN_GPG_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
4343
run: |
44-
mvn -Pjavadoc -Prelease --batch-mode --update-snapshots deploy
44+
mvn \
45+
-Pjavadoc \
46+
-Prelease \
47+
--batch-mode \
48+
--update-snapshots deploy \
49+
-Dmaven.repository.credentialScope=id
4550
4651
- name: Capture project version
4752
run: echo PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version --quiet -DforceStdout) >> $GITHUB_ENV

0 commit comments

Comments
 (0)