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/11/03 09:18:42 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 master
in repository https://gitbox.apache.org/repos/asf/bahir.git
commit 73c28fef8477d84ca55a1da8a46a4fb98d22b280
Author: Joao Boto <bo...@boto.pro>
AuthorDate: Mon Oct 31 15:39:40 2022 +0100
[BAHIR-320] Migrate travis to github actions
---
.../workflows/distribution-ci.yml | 29 ++++++++++++++++------
1 file changed, 22 insertions(+), 7 deletions(-)
diff --git a/.travis.yml b/.github/workflows/distribution-ci.yml
similarity index 64%
rename from .travis.yml
rename to .github/workflows/distribution-ci.yml
index 9951409..840957e 100644
--- a/.travis.yml
+++ b/.github/workflows/distribution-ci.yml
@@ -15,13 +15,28 @@
# limitations under the License.
#
-language: java
+name: Distribution
-jdk:
- - openjdk8
- - oraclejdk8
+on:
+ push:
+ branches: [ master ]
-dist: trusty
+jobs:
+ build:
-script:
- - mvn -Pdistribution clean install
+ 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