Skip to content

Commit

Permalink
Remove install maven command,i the deploy phase runs after install
Browse files Browse the repository at this point in the history
  • Loading branch information
groldan committed Aug 4, 2024
1 parent d3d29db commit 6c83013
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 6c83013

Please sign in to comment.