From e823a96fdcb62e8fd1a5e7bec2243978b41450f1 Mon Sep 17 00:00:00 2001 From: Barry Attwater Date: Tue, 16 Jul 2024 11:20:59 +0100 Subject: [PATCH] Separate Archetype deployment due to Maven properties bug --- .github/workflows/maven.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 45f6ce4..909aa48 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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 }}