Skip to content

Commit

Permalink
ci: always build in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
lenaschoenburg committed Apr 14, 2023
1 parent 35add66 commit 75fc5a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/actions/build-zeebe/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,8 @@ runs:
name: Package Zeebe
shell: bash
id: build-java
# we do not build in parallel to avoid memory and cache corruption issues, notably observed
# on macOS and Windows
run: |
./mvnw -B -DskipTests -DskipChecks install ${{ inputs.maven-extra-args }}
./mvnw -B -T1C -DskipTests -DskipChecks install ${{ inputs.maven-extra-args }}
export BUILD_DIR=$(./mvnw -pl dist/ help:evaluate -Dexpression=project.build.directory -q -DforceStdout)
export ARTIFACT=$(./mvnw -pl dist/ help:evaluate -Dexpression=project.build.finalName -q -DforceStdout)
echo "distball=${BUILD_DIR}/${ARTIFACT}.tar.gz" >> $GITHUB_OUTPUT

0 comments on commit 75fc5a3

Please sign in to comment.