You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bahir.apache.org by es...@apache.org on 2022/10/31 14:39:52 UTC

[bahir] 01/01: [BAHIR-320] Migrate travis to github actions

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

eskabetxe pushed a commit to branch BAHIR-320
in repository https://gitbox.apache.org/repos/asf/bahir.git

commit fd11f8c314624f10b5511ce248cfd32c4e9d2b27
Author: Joao Boto <bo...@boto.pro>
AuthorDate: Mon Oct 31 15:39:40 2022 +0100

    [BAHIR-320] Migrate travis to github actions
---
 .github/workflows/distribution-ci.yml | 42 +++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/.github/workflows/distribution-ci.yml b/.github/workflows/distribution-ci.yml
new file mode 100644
index 0000000..6789d17
--- /dev/null
+++ b/.github/workflows/distribution-ci.yml
@@ -0,0 +1,42 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: Java CI with Maven
+
+on:
+  push:
+    branches: [ master ]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+       java: ['8']
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: Set up JDK ${{ matrix.java }}
+      uses: actions/setup-java@v2
+      with:
+        java-version: ${{ matrix.java }}
+        distribution: 'zulu'
+        cache: maven 
+
+    - name: Build
+      run: mvn -Pdistribution clean install