Skip to content

Commit c43a2a6

Browse files
committed
chore: maven debugging
Signed-off-by: BRIAN GLEESON <Brian.Gleeson@ie.ibm.com>
1 parent 6a29e25 commit c43a2a6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@ jobs:
6161
6262
publish-maven-central:
6363
# Requires GPG_KEYNAME, GPG_PRIVATE_KEY, GPG_PASSPHRASE, CP_USERNAME, CP_PASSWORD
64-
# Missing: GPG_PRIVATE_KEY, GPG_PASSPHRASE, CP_PASSWORD
6564
name: Publish to Maven Central
6665
runs-on: ubuntu-latest
6766
timeout-minutes: 30
6867
# Only publish when semantic-release creates a release commit (starts with "chore(release):")
6968
if: (github.event_name == 'push' && startsWith(github.event.head_commit.message, 'chore(release):')) || (github.event_name == 'workflow_dispatch' && inputs.publish_maven)
7069

70+
permissions:
71+
contents: read
72+
7173
steps:
7274
- name: Checkout code
7375
uses: actions/checkout@v4
@@ -98,4 +100,4 @@ jobs:
98100
CP_USERNAME: ${{ secrets.CP_USERNAME }}
99101
CP_PASSWORD: ${{ secrets.CP_PASSWORD }}
100102
run: |
101-
mvn deploy --settings build/.github.settings.xml -DskipTests -P central
103+
mvn -e -B -ntp deploy --settings build/.github.settings.xml -DskipTests -P central

0 commit comments

Comments
 (0)