From 6c83013bf1435a74a228769687ad60aaee4f8edf Mon Sep 17 00:00:00 2001 From: Gabriel Roldan Date: Sun, 4 Aug 2024 20:53:35 -0300 Subject: [PATCH] Remove install maven command,i the deploy phase runs after install --- .github/workflows/publish.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 8629569..1954c71 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -25,13 +25,9 @@ jobs: java-version: '21' cache: 'maven' - - name: Build customized GeoServer version + - name: Deploy to github packages maven repo run: | - ./mvnw clean install -DskipTests -ntp -T4 -U - - - name: Publish package - run: | - ./mvnw --batch-mode deploy -DskipTests -ntp -fae -Dmaven.resolver.transport=wagon \ + ./mvnw deploy --batch-mode -DskipTests -ntp -fae -Dmaven.resolver.transport=wagon \ -DaltDeploymentRepository=github::https://maven.pkg.github.com/camptocamp/geoserver-cloud-geoserver env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}