From 1ade64f116e6d4b5713bc586236fa8e7c4a4b42f Mon Sep 17 00:00:00 2001 From: DQinYuan <932087612@qq.com> Date: Sun, 7 Apr 2024 20:59:00 +0800 Subject: [PATCH] git action active profile --- .github/workflows/maven-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 80dfc52d..01486859 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -21,7 +21,7 @@ jobs: - name: debug settings.xml run: cat /home/runner/.m2/settings.xml - name: Publish to Maven Central Repo - run: mvn clean deploy --batch-mode + run: mvn clean deploy --batch-mode --activate-profiles deploy env: OSSRH_USER: ${{ secrets.OSSRH_USER }} OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}