Skip to content

Commit

Permalink
Reuse the maven options from the PR build in the Release build
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvest committed Jun 10, 2024
1 parent 3dbf1bc commit c5f2a3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Release
on:
workflow_dispatch:

env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryhandler.count=5 -Dmaven.wagon.httpconnectionManager.ttlSeconds=240 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn

jobs:
Release:
runs-on: ubuntu-latest
Expand All @@ -26,7 +29,7 @@ jobs:
git config user.email "${{ github.actor }}@users.noreply.github.com"
- name: Verifying build
run: ./mvnw clean deploy -P release
run: ./mvnw clean deploy -P release -B

- name: Push pom updates and tags
run: |
Expand Down

0 comments on commit c5f2a3e

Please sign in to comment.