This is an automated email from the ASF dual-hosted git repository.

sai_boorlagadda pushed a commit to branch feature/gha-update
in repository https://gitbox.apache.org/repos/asf/geode-kafka-connector.git

commit 3b281518b15560fbb2a9a22ca3d00653c0ed5b78
Author: Sai Boorlagadda <sai.boorlaga...@gmail.com>
AuthorDate: Sun Jan 22 14:44:38 2023 -0800

    Upgrade github actions to newer versions
---
 .github/workflows/mvn-package-all-os.yml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/mvn-package-all-os.yml 
b/.github/workflows/mvn-package-all-os.yml
index 912b847..b85b0fe 100644
--- a/.github/workflows/mvn-package-all-os.yml
+++ b/.github/workflows/mvn-package-all-os.yml
@@ -10,7 +10,9 @@ name: Geode Kafka Build
 
 on:
   push:
+    branches: [ "master" ]
   pull_request:
+    branches: [ "master" ]
 
 jobs:
   build:
@@ -19,11 +21,14 @@ jobs:
       fail-fast: false
       matrix:
         os: [ubuntu-16.04, ubuntu-latest, ubuntu-18.04, macos-latest, 
macos-11.0, windows-2016, windows-latest]
+        distribution: [ 'liberica' ]
+        java: [ '8' ]
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
     - name: Set up JDK 1.8
-      uses: actions/setup-java@v1
+      uses: actions/setup-java@v3
       with:
-        java-version: 1.8
+        distribution: ${{ matrix.distribution }}
+        java-version: ${{  matrix.java }}
     - name: Build with Maven
       run: mvn -B package --file pom.xml

Reply via email to