Skip to content

Commit 40d5e34

Browse files
cicd: Delete space after P to specify profiles #TASK-7783
1 parent 1d8d71f commit 40d5e34

2 files changed

Lines changed: 2 additions & 92 deletions

File tree

.github/workflows/deploy-maven-repository-workflow.old

Lines changed: 0 additions & 90 deletions
This file was deleted.

.github/workflows/deploy-maven-repository-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
3838
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
3939
- name: Deploy to Maven Central repository
40-
run: mvn clean deploy -DskipTests -P deploy-maven ${{ inputs.maven_opts }} --no-transfer-progress
40+
run: mvn clean deploy -DskipTests -Pdeploy-maven ${{ inputs.maven_opts }} --no-transfer-progress
4141
env:
4242
MAVEN_NEXUS_USER: ${{ secrets.MAVEN_USER_TOKEN }}
4343
MAVEN_NEXUS_PASSWORD: ${{ secrets.MAVEN_PASSWORD_TOKEN }}
@@ -48,6 +48,6 @@ jobs:
4848
distribution: 'temurin'
4949
java-version: '8'
5050
- name: Deploy to GitHub Packages repository
51-
run: mvn clean deploy -DskipTests -P deploy-github ${{ inputs.maven_opts }} --no-transfer-progress
51+
run: mvn clean deploy -DskipTests -Pdeploy-github ${{ inputs.maven_opts }} --no-transfer-progress
5252
env:
5353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)