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 2021/03/12 10:33:22 UTC
[isis-app-simpleapp] branch jdo updated: reinstates the build
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch jdo
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git
The following commit(s) were added to refs/heads/jdo by this push:
new a08c785 reinstates the build
a08c785 is described below
commit a08c785152822dcd1f1f0caf2d734f73c3ab42e7
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Mar 12 10:33:14 2021 +0000
reinstates the build
---
.github/workflows/build-and-test.yml | 68 +++++++++++++++++-------------------
1 file changed, 32 insertions(+), 36 deletions(-)
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index d370dab..f295db5 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -63,42 +63,38 @@ jobs:
BASELINE=$(cat pom.xml | grep "<version>" | head -1 | awk -F'>' '{print $2}' | awk -F'<' '{print $1}')
SHA_ID=$(echo $GITHUB_SHA | cut -c1-8)
REVISION=${BASELINE}.$(date +%Y%m%d-%H%M)-${SHA_ID}
- echo "REVISION : $REVISION"
- echo "REVISION : $REVISION"
- echo "REVISION : $REVISION"
- echo "REVISION : $REVISION"
echo "##[set-output name=revision;]${REVISION}"
-#
-# - name: Share $REVISION as Environment Variable
-# run: echo "REVISION=${{ steps.revision.outputs.revision }}" >> $GITHUB_ENV
-#
-# - name: Print $REVISION
-# shell: bash
-# run: |
-# echo ============== ENV =================
-# echo REVISION \: $REVISION
-# echo ======================================
-#
-# - name: Update Maven version
-# shell: bash
-# run: |
-# mvn versions:set -DnewVersion=$REVISION
-#
-# - name: Print pom.xml
-# shell: bash
-# run: |
-# cat pom.xml
-#
-# - name: Build with Maven
+
+ - name: Share $REVISION as Environment Variable
+ run: echo "REVISION=${{ steps.revision.outputs.revision }}" >> $GITHUB_ENV
+
+ - name: Print $REVISION
+ shell: bash
+ run: |
+ echo ============== ENV =================
+ echo REVISION \: $REVISION
+ echo ======================================
+
+ - name: Update Maven version
+ shell: bash
+ run: |
+ mvn versions:set -DnewVersion=$REVISION
+
+ - name: Print pom.xml
+ shell: bash
+ run: |
+ cat pom.xml
+
+ - name: Build with Maven
+ shell: bash
+ run: |
+ mvn install
+
+# uncomment and set environment variables to push to Docker registry
+# - name: Build and Push Docker Image
# shell: bash
# run: |
-# mvn install
-#
-## uncomment and set environment variables to push to Docker registry
-## - name: Build and Push Docker Image
-## shell: bash
-## run: |
-## mvn -pl webapp -Ddocker jib:build
-## env:
-## DOCKER_REGISTRY_USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
-## DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
+# mvn -pl webapp -Ddocker jib:build
+# env:
+# DOCKER_REGISTRY_USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
+# DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}