1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-06-01 16:10:48 +00:00

Merge pull request #741 from matthew16550/speedup-ci

Speed up CI by only running "mvn package" when strictly necessary
This commit is contained in:
arnaudroques 2021-11-02 18:59:21 +01:00 committed by GitHub
commit 0767eaa803
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,8 +54,8 @@ jobs:
echo "This run will NOT make a release"
fi
# We run the tests on many OS / Java combinations but also the Compile & Package steps because some users build
# their own jars from source, so it is good for CI to check that "mvn package" is working on all combinations.
# We run the tests on many OS / Java combinations but also the Compile step because some users build
# their own jars from source, so it is good for CI to check that is working on all combinations.
build:
needs: workflow_config
strategy:
@ -99,6 +99,7 @@ jobs:
run: mvn --batch-mode test
- name: Package
if: ${{ matrix.release_from_this_build }}
run: mvn --batch-mode -Dmaven.test.skip=true package
- name: Upload jar artifacts