Skip to content

Commit

Permalink
Merge pull request #49 from flyway/fix-maven-deployment-bug
Browse files Browse the repository at this point in the history
Separate Archetype deployment due to Maven properties bug
  • Loading branch information
Barry-RG authored Jul 16, 2024
2 parents 810719f + e823a96 commit 3cae175
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
run: mvn -B install --file pom.xml
- name: Publish to GitHub Packages Apache Maven
if: contains(github.ref, 'main')
run: mvn -B deploy -Pgithub -s $GITHUB_WORKSPACE/settings.xml
run: mvn -B deploy -Pgithub -s $GITHUB_WORKSPACE/settings.xml -pl '!flyway-community-db-support-archetype'
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Publish Archetype to GitHub Packages Apache Maven
if: contains(github.ref, 'main')
run: mvn -B deploy -Pgithub -s $GITHUB_WORKSPACE/settings.xml -pl flyway-community-db-support-archetype
env:
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit 3cae175

Please sign in to comment.