From 9d70f857215ddcee2f11865e609b0ad06373bb38 Mon Sep 17 00:00:00 2001
From: mikhailshaganov <81769678+mikhailshaganov@users.noreply.github.com>
Date: Mon, 6 Sep 2021 17:04:50 +0300
Subject: [PATCH 1/2] Update build.yml

---
 .github/workflows/build.yml | 34 ++++++++++++++++++++++------------
 1 file changed, 22 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9eb0e32a..8965c52a 100755
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -10,6 +10,7 @@ on:
   pull_request:
     paths-ignore:
       - '**.md'
+  workflow_dispatch:
 
 jobs:
   build:
@@ -19,15 +20,24 @@ jobs:
       matrix:
         os: [ubuntu-latest, windows-latest, macos-latest]
     steps:
-      - uses: actions/checkout@v2
-      - name: Setup Node.JS 12
-        uses: actions/setup-node@v2
-        with:
-          node-version: 12.x
-      - run: npm ci
-      - run: npm run build
-      - run: npm run format-check
-      - run: npm test
-      - name: Verify no unstaged changes
-        if: runner.os != 'windows'
-        run: bash __tests__/verify-no-unstaged-changes.sh
+    - uses: actions/checkout@v2
+    - uses: actions/setup-java@v2
+      with:
+        distribution: 'temurin'
+        java-version: '11'
+        cache: 'maven'
+    - name: Build with Maven
+      run: mvn -B package --file pom.xml
+      
+#       - uses: actions/checkout@v2
+#       - name: Setup Node.JS 12
+#         uses: actions/setup-node@v2
+#         with:
+#           node-version: 12.x
+#       - run: npm ci
+#       - run: npm run build
+#       - run: npm run format-check
+#       - run: npm test
+#       - name: Verify no unstaged changes
+#         if: runner.os != 'windows'
+#         run: bash __tests__/verify-no-unstaged-changes.sh

From f4362ade96d3bac8d2dcb8a27fd351ce09075368 Mon Sep 17 00:00:00 2001
From: mikhailshaganov <81769678+mikhailshaganov@users.noreply.github.com>
Date: Mon, 6 Sep 2021 17:11:18 +0300
Subject: [PATCH 2/2] Update build.yml

---
 .github/workflows/build.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8965c52a..991e94dd 100755
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,6 +1,7 @@
 name: Build Action
 
 on:
+  workflow_dispatch:
   push:
     branches:
       - main
@@ -10,7 +11,6 @@ on:
   pull_request:
     paths-ignore:
       - '**.md'
-  workflow_dispatch:
 
 jobs:
   build: