Skip to content

Commit

Permalink
Build with GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jcgay committed Aug 18, 2021
1 parent 5974c2d commit eea0d96
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: Cache
uses: actions/cache@v2.1.6
with:
path: ~/.m2/repository
key: local-maven-repository
- name: Build with Maven
run: mvn -B verify coveralls:report -Prun-coverage -DrepoToken=${{ secrets.COVERALLS_TOKEN }}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ A status notification will be send at the end of a Maven build.
├── boot
├── conf
└── lib
```
```

### OS X ?

You can install a pre-packaged maven named [maven-deluxe](https://github.com/jcgay/homebrew-jcgay#maven-deluxe) using `brew`.
It comes with [maven-color](https://github.com/jcgay/maven-color), [maven-notifier](https://github.com/jcgay/maven-notifier) and [maven-profiler](https://github.com/jcgay/maven-profiler).
You can install a pre-packaged maven named [maven-deluxe](https://github.com/jcgay/homebrew-jcgay#maven-deluxe) using `brew`.
It comes with [maven-color](https://github.com/jcgay/maven-color), [maven-notifier](https://github.com/jcgay/maven-notifier) and [maven-profiler](https://github.com/jcgay/maven-profiler).
It is based on latest maven release.

brew tap jcgay/jcgay
Expand Down Expand Up @@ -83,7 +83,7 @@ Play a success or failure sound when build ends.
Go to [Wiki](https://github.com/jcgay/maven-notifier/wiki) to read full configuration guide for each notifier.

# Build status
[![Build Status](https://travis-ci.org/jcgay/maven-notifier.svg?branch=master)](https://travis-ci.org/jcgay/maven-notifier)
[![Build Status](https://github.com/jcgay/maven-notifier/actions/workflows/maven.yml/badge.svg)](https://github.com/jcgay/maven-notifier/actions/workflows/maven.yml)
[![Coverage Status](https://coveralls.io/repos/jcgay/maven-notifier/badge.svg?branch=master)](https://coveralls.io/r/jcgay/maven-notifier?branch=master)
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=fr.jcgay.maven%3Amaven-notifier&metric=alert_status)](https://sonarcloud.io/dashboard?id=fr.jcgay.maven%3Amaven-notifier)
[![Technical debt ratio](https://sonarcloud.io/api/project_badges/measure?project=fr.jcgay.maven%3Amaven-notifier&metric=sqale_index)](https://sonarcloud.io/dashboard?id=fr.jcgay.maven%3Amaven-notifier)
Expand Down

0 comments on commit eea0d96

Please sign in to comment.