Skip to content

Commit 5cdb104

Browse files
committed
fix publishing
1 parent 38359ff commit 5cdb104

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
run: mvn -B install --file pom.xml
2828
- name: Publish to GitHub Packages Apache Maven
2929
if: contains(github.ref, 'main')
30-
run: mvn -B deploy -Pgithub -s $GITHUB_WORKSPACE/settings.xml -pl '!flyway-community-db-support-archetype'
30+
run: mvn -B deploy -Pgithub -s $GITHUB_WORKSPACE/settings.xml -pl '!flyway-community-db-support-archetype' -DskipPublishing=true
3131
env:
3232
GITHUB_TOKEN: ${{ github.token }}
3333
- name: Publish Archetype to GitHub Packages Apache Maven
3434
if: contains(github.ref, 'main')
35-
run: mvn -B deploy -Pgithub -s $GITHUB_WORKSPACE/settings.xml -pl flyway-community-db-support-archetype
35+
run: mvn -B deploy -Pgithub -s $GITHUB_WORKSPACE/settings.xml -pl flyway-community-db-support-archetype -DskipPublishing=true
3636
env:
3737
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)