Skip to content

Commit 3cae175

Browse files
authored
Merge pull request #49 from flyway/fix-maven-deployment-bug
Separate Archetype deployment due to Maven properties bug
2 parents 810719f + e823a96 commit 3cae175

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +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
30+
run: mvn -B deploy -Pgithub -s $GITHUB_WORKSPACE/settings.xml -pl '!flyway-community-db-support-archetype'
31+
env:
32+
GITHUB_TOKEN: ${{ github.token }}
33+
- name: Publish Archetype to GitHub Packages Apache Maven
34+
if: contains(github.ref, 'main')
35+
run: mvn -B deploy -Pgithub -s $GITHUB_WORKSPACE/settings.xml -pl flyway-community-db-support-archetype
3136
env:
3237
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)