mirror of
https://github.com/octoleo/plantuml.git
synced 2024-09-28 06:59:02 +00:00
Speed up CI by only running "mvn package" when strictly necessary
This commit is contained in:
parent
041b2b45b9
commit
96b5eba7c1
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -54,8 +54,8 @@ jobs:
|
|||||||
echo "This run will NOT make a release"
|
echo "This run will NOT make a release"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# We run the tests on many OS / Java combinations but also the Compile & Package steps because some users build
|
# 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 "mvn package" is working on all combinations.
|
# their own jars from source, so it is good for CI to check that is working on all combinations.
|
||||||
build:
|
build:
|
||||||
needs: workflow_config
|
needs: workflow_config
|
||||||
strategy:
|
strategy:
|
||||||
@ -99,6 +99,7 @@ jobs:
|
|||||||
run: mvn --batch-mode test
|
run: mvn --batch-mode test
|
||||||
|
|
||||||
- name: Package
|
- name: Package
|
||||||
|
if: ${{ matrix.release_from_this_build }}
|
||||||
run: mvn --batch-mode -Dmaven.test.skip=true package
|
run: mvn --batch-mode -Dmaven.test.skip=true package
|
||||||
|
|
||||||
- name: Upload jar artifacts
|
- name: Upload jar artifacts
|
||||||
|
Loading…
Reference in New Issue
Block a user