This is an automated email from the ASF dual-hosted git repository.
jkevan pushed a commit to branch fixDocGenerationAndBuild
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/fixDocGenerationAndBuild by
this push:
new f707336 UNOMI-529: try to fix documentation generation and artifacts
push in github workflows
f707336 is described below
commit f7073361ecda0d2f7b46ab7a48cd1aff52fb3d63
Author: Kevan <[email protected]>
AuthorDate: Wed Nov 17 17:01:04 2021 +0100
UNOMI-529: try to fix documentation generation and artifacts push in github
workflows
---
.github/workflows/unomi-ci-build-tests.yml | 4 ++--
.github/workflows/unomi-ci-docs-deploy.yml | 5 +----
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/unomi-ci-build-tests.yml
b/.github/workflows/unomi-ci-build-tests.yml
index bd1cc3f..49cb44a 100644
--- a/.github/workflows/unomi-ci-build-tests.yml
+++ b/.github/workflows/unomi-ci-build-tests.yml
@@ -22,8 +22,8 @@ jobs:
with:
java-version: ${{ matrix.java }}
- - name: Tests
- run: mvn test
+ - name: Build and Unit tests
+ run: mvn -U -B -e clean install
- name: Integration tests
run: mvn -pl itests clean install -Pintegration-tests
diff --git a/.github/workflows/unomi-ci-docs-deploy.yml
b/.github/workflows/unomi-ci-docs-deploy.yml
index a90be37..a5497d0 100644
--- a/.github/workflows/unomi-ci-docs-deploy.yml
+++ b/.github/workflows/unomi-ci-docs-deploy.yml
@@ -20,11 +20,8 @@ jobs:
server-username: NEXUS_USER
server-password: NEXUS_PW
- - name: Build
- run: mvn -U -B -e clean install -DskipTests
-
- name: Generate documentation
- run: mvn javadoc:aggregate source:aggregate
+ run: mvn -U -B -e clean install -DskipTests javadoc:aggregate
source:aggregate
- name: Deploying
run: mvn deploy -DskipTests