Skip to content

Commit

Permalink
Reduce mvn -Xmx option to 2g in publish_snapshot workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Oct 27, 2023
1 parent 23c4cce commit 63222e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/publish_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ jobs:
GPG_KEY: "not_used"
GPG_PASSPHRASE: "not_used"
GIT_REF: ${{ matrix.branch }}
MAVEN_MXM_OPT: 2g
run: ./dev/create-release/release-build.sh publish-snapshot
2 changes: 1 addition & 1 deletion dev/create-release/release-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ git clean -d -f -x
rm -f .gitignore
cd ..

export MAVEN_OPTS="-Xss128m -Xmx12g -XX:ReservedCodeCacheSize=1g"
export MAVEN_OPTS="-Xss128m -Xmx${MAVEN_MXM_OPT:-12g} -XX:ReservedCodeCacheSize=1g"

if [[ "$1" == "package" ]]; then
# Source and binary tarballs
Expand Down

0 comments on commit 63222e4

Please sign in to comment.