You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2022/06/04 08:41:36 UTC
[commons-rng] branch master updated: Correct if-else GH action workflow
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
The following commit(s) were added to refs/heads/master by this push:
new 423e3465 Correct if-else GH action workflow
423e3465 is described below
commit 423e346532367dec9b0e2878c9ea2ed36b49385f
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sat Jun 4 09:41:28 2022 +0100
Correct if-else GH action workflow
---
.github/workflows/maven.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 3d4292d0..f8153c0b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -43,8 +43,9 @@ jobs:
java-version: ${{ matrix.java }}
- name: Build with Maven
# Use the default goal
+ if: matrix.java == 8
+ run: mvn -V --no-transfer-progress
+ - name: Build with Maven including examples
# Examples require Java 11+
if: matrix.java > 8
run: mvn -V --no-transfer-progress -P commons-rng-examples
- if: matrix.java == 8
- run: mvn -V --no-transfer-progress