Skip to content

[Feature][scaleph-ui-react] update scaleph-ui-react2 module #97

[Feature][scaleph-ui-react] update scaleph-ui-react2 module

[Feature][scaleph-ui-react] update scaleph-ui-react2 module #97

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: CI-Maven
on:
pull_request:
paths-ignore: ['docs/**', '**/*.md', '**/*.drawio', '**/*.svg' ]
push:
paths-ignore: ['docs/**', '**/*.md', '**/*.drawio', '**/*.svg' ]
schedule:
- cron: '0 20 * * *' # automatic test while every day on 04:00 am at UTC+10
workflow_dispatch:
jobs:
build:
if: github.repository == 'flowerfine/scaleph'
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
jdk: [ 11, 17 ]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Java JDK ${{ matrix.jdk }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.jdk }}
distribution: temurin
cache: maven
- name: Build scaleph-dist
timeout-minutes: 360
run: mvn -B -U -T 4C clean package -Pdist -DskipTests -Dfast
- name: Build with Maven
timeout-minutes: 360
run: mvn -B -U -T 4C clean package
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./**/target/site/jacoco/jacoco.xml
verbose: true