You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2022/03/14 23:04:11 UTC

[isis] branch ISIS-2975 updated: ISIS-2975: updates CI to build each night

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch ISIS-2975
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/ISIS-2975 by this push:
     new f9d7b5b  ISIS-2975: updates CI to build each night
f9d7b5b is described below

commit f9d7b5b2a5f80b76fb89ecb72f4c6ad37460bf54
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Mar 14 23:03:54 2022 +0000

    ISIS-2975: updates CI to build each night
---
 .../workflows/ci-build-artifacts-push-maven.yml    | 26 ++++++++++------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/ci-build-artifacts-push-maven.yml b/.github/workflows/ci-build-artifacts-push-maven.yml
index a19be29..f0cd324 100644
--- a/.github/workflows/ci-build-artifacts-push-maven.yml
+++ b/.github/workflows/ci-build-artifacts-push-maven.yml
@@ -1,12 +1,10 @@
-name: Build, Test, Push (Java 11)
+name: Apache Isis Nightly Build
 
 on:
-  push:
-    branches:
-      - ISIS-2975
-  pull_request:
-    branches:
-      - master
+  workflow_dispatch:
+  schedule:
+    ## daily 02:00 (UTC) in the morning
+    - cron: '0 2 * * *'
 
 jobs:
   build:
@@ -25,12 +23,12 @@ jobs:
     steps:
     - uses: actions/checkout@v3
 
-#    - name: Set up JDK 11
-#      uses: actions/setup-java@v2
-#      with:
-#        distribution: 'zulu'
-#        java-version: 11
-#
+    - name: Set up JDK 11
+      uses: actions/setup-java@v2
+      with:
+        distribution: 'zulu'
+        java-version: 11
+
     - name: Find baseline from search.maven.org
       id: calc-baseline
       run: 'bash scripts/ci/calc-baseline.sh'
@@ -89,7 +87,7 @@ jobs:
           -Dgithub
           -Denforcer.failFast=true
           -Djacoco.skip=true
-          -DskipTests
+          -DinstallAtEnd=true -DdeployAtEnd=true
         GITHUB_TOKEN: ${{ github.token }}
         MVN_STAGES: deploy
         SOURCE_MODE: attach