Skip to content

Commit

Permalink
Merge pull request #5 from camunda/INFRA-1256
Browse files Browse the repository at this point in the history
ci: build with GitHub Actions
  • Loading branch information
lwille committed May 6, 2020
2 parents e925fe2 + 0dfee43 commit 8ba6ffe
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions spring-boot-starter/starter-client/.github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This workflow is triggered by pushing commits to branches and/or Pull Requests.
# It will also trigger daily to provide a nightly build status.
name: Build project with Maven
on:
pull_request:
push:
schedule:
- cron: '2 2 * * 1-5' # run nightly master builds on weekdays

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Java setup
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache
uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run Maven
run: mvn -B clean install com.mycila:license-maven-plugin:check

0 comments on commit 8ba6ffe

Please sign in to comment.