Skip to content

add startTime and endTime to step / result #2383 #1475

add startTime and endTime to step / result #2383

add startTime and endTime to step / result #2383 #1475

Workflow file for this run

name: maven-build
on:
push:
branches: [ master, develop, java11 ]
pull_request:
branches: [ master, develop ]
jobs:
build:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v3
- name: set up jdk 11
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 11
- name: cache maven packages
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: build with maven
run: mvn -B clean install -P pre-release -Djavacpp.platform=linux-x86_64
- name: build and test with docker
run: ./build-docker.sh
- name: upload workspace if build fails
# if: ${{ failure() }}
if: ${{ false }}
uses: actions/upload-artifact@v3
with:
name: build-results
path: .
retention-days: 5