Skip to content

Commit ca52dc3

Browse files
authored
Merge pull request #102 from flyway/fix-github-publishing
Fix publishing to Github packages
2 parents 38359ff + 5cdb104 commit ca52dc3

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)