Merge branch 'master' of https://github.com/apache/synapse
diff --git a/.github/workflows/build_cron.yml b/.github/workflows/build_cron.yml
new file mode 100644
index 0000000..cc3ea40
--- /dev/null
+++ b/.github/workflows/build_cron.yml
@@ -0,0 +1,33 @@
+# This is a workflow to build master at midnight
+
+name: Synapse Daily Build
+
+on:
+  schedule:
+    - cron:  '0 0 * * *'
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        java: [ 8 ]
+
+    steps:
+    - uses: actions/checkout@v2
+      
+    - name: Setup java
+      uses: actions/setup-java@v1
+      with:
+        java-version: ${{ matrix.java }}
+
+    - name: Caches maven artifacts
+      uses: actions/cache@v1
+      with:
+        path: ~/.m2/repository
+        key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+        restore-keys: |
+          ${{ runner.os }}-maven-
+          
+    - name: Maven Package
+      run: mvn clean package
diff --git a/README.md b/README.md
index 4478502..8e06099 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,5 @@
-# Synapse
+![](https://github.com/shafreenAnfar/synapse/workflows/.github/workflows/build_cron.yml/badge.svg)
+# Synapse 
 Apache Synapse is a lightweight and high-performance Enterprise Service Bus (ESB). Powered by a fast and asynchronous mediation engine, Apache Synapse provides exceptional support for XML, Web Services and REST. In addition to XML and SOAP, 
 Apache Synapse supports several other content interchange formats, such as plain text, binary, Hessian and JSON. The wide range of transport adapters available for Synapse, enables it to communicate over many application and transport layer protocols. As of now, Apache Synapse supports HTTP/S, Mail (POP3, IMAP, SMTP), JMS, TCP, UDP, VFS, SMS, XMPP and FIX.