1
0
Fork 0
mirror of https://github.com/crawler-commons/crawler-commons synced 2024-03-28 01:29:52 +01:00

Migrate CI from Travis to GitHub Actions

This commit is contained in:
Valery Yatsynovich 2021-10-11 14:36:25 +03:00
parent e66579ba74
commit 8a23385b19
No known key found for this signature in database
GPG Key ID: CEECE9778FBA6C70
3 changed files with 31 additions and 13 deletions

29
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: crawler-commons build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11, 17 ]
name: Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v2
- name: Setup JDK
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build
run: mvn install javadoc:aggregate

View File

@ -1,11 +0,0 @@
language: java
jdk:
- openjdk8
script:
- mvn install javadoc:aggregate
notifications:
email:
- crawler-commons@googlegroups.com

View File

@ -1,4 +1,4 @@
[![Build Status](https://api.travis-ci.org/crawler-commons/crawler-commons.svg?branch=master)](https://travis-ci.org/crawler-commons/crawler-commons)
[![Build Status](https://github.com/crawler-commons/crawler-commons/workflows/crawler-commons%20build/badge.svg)](https://github.com/crawler-commons/crawler-commons/actions?query=workflow%3A%22crawler-commons+build%22)
[![license](https://img.shields.io/github/license/crawler-commons/crawler-commons.svg?maxAge=2592000?style=plastic)](http://www.apache.org/licenses/LICENSE-2.0)
# Overview
@ -132,4 +132,4 @@ This release improves robots.txt and sitemap parsing support.
See the [CHANGES.txt](https://github.com/crawler-commons/crawler-commons/blob/master/CHANGES.txt) file included with the release for a full list of details.
# License
Published under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0), see [LICENSE](https://github.com/crawler-commons/crawler-commons/blob/master/LICENSE)
Published under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0), see [LICENSE](https://github.com/crawler-commons/crawler-commons/blob/master/LICENSE)