Skip to content

Commit

Permalink
Create build.yml (ExpediaGroup#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
smyrick authored and dariuszkuc committed Sep 10, 2019
1 parent cc02dd4 commit 335b93e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build master branch

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '1.8', '11.x.x' ]
steps:
- name: Checkout latest code
uses: actions/checkout@v1

- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}

- name: Print active Maven profiles
run: mvn help:active-profiles

- name: Build with Maven
run: mvn clean install

- name: Publish coverage report
uses: codecov/codecov-action@v1.0.2
with:
token: ${{secrets.CODECOV_TOKEN}}

0 comments on commit 335b93e

Please sign in to comment.