This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git
The following commit(s) were added to refs/heads/master by this push:
new afc0a23 HOP-2210 (#403)
afc0a23 is described below
commit afc0a23eb0eeec0652bd63d6521f313d6ecba7d6
Author: Mahendran Mookkiah <[email protected]>
AuthorDate: Sat Nov 21 11:44:04 2020 -0500
HOP-2210 (#403)
* testing git workflow on push
* HOP-2210 caching maven packages
* more options to speedup the build
* more options to speedup the build
* more options to speedup the build
* more options to speedup the build
* HOP-2210: speedup maven build
* Update pr_build.yml
---
.github/workflows/pr_build.yml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml
index d2c4c3d..3af6c0c 100644
--- a/.github/workflows/pr_build.yml
+++ b/.github/workflows/pr_build.yml
@@ -23,7 +23,6 @@ on:
pull_request:
branches: ['master']
-
jobs:
build:
runs-on: ubuntu-latest
@@ -34,7 +33,13 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
+ - name: Cache Maven packages
+ uses: actions/cache@v2
+ with:
+ path: ~/.m2
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ restore-keys: ${{ runner.os }}-m2
- name: RAT Check
run: mvn clean apache-rat:check
- name: Build with Maven
- run: mvn clean install -U -B -e -fae -V -Dmaven.compiler.fork=true
-Dsurefire.rerunFailingTestsCount=2 -P !assemblies -Djacoco.skip=true --file
pom.xml
\ No newline at end of file
+ run: MAVEN_OPTS="-XX:+TieredCompilation -XX:TieredStopAtLevel=1"; mvn
clean install -T 1C -B -C -e -fae -V -Dmaven.compiler.fork=true
-Dsurefire.rerunFailingTestsCount=2 -P '!assemblies' -Djacoco.skip=true --file
pom.xml