You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by im...@apache.org on 2019/08/25 08:10:13 UTC
[oodt] branch master updated: Added github action to build project
on push/PR
This is an automated email from the ASF dual-hosted git repository.
imesha pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/oodt.git
The following commit(s) were added to refs/heads/master by this push:
new 7c32672 Added github action to build project on push/PR
7c32672 is described below
commit 7c3267240d1f0195519db45a74fdd5c12a8ac49d
Author: Imesha Sudasingha <im...@apache.org>
AuthorDate: Sun Aug 25 13:40:08 2019 +0530
Added github action to build project on push/PR
---
.github/workflows/maven.yml | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
new file mode 100644
index 0000000..4955aea
--- /dev/null
+++ b/.github/workflows/maven.yml
@@ -0,0 +1,27 @@
+name: Java CI
+
+on:
+ push:
+ branches:
+ - master
+ - development
+ pull_request:
+ branches:
+ - master
+ - development
+ schedule:
+ - cron: 0 2 * * 1-5
+
+jobs:
+ build:
+
+ runs-on: ubuntu-18.04
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+ - name: Build with Maven
+ run: mvn clean install