Skip to content

Commit 011e2a9

Browse files
committed
Add CI
1 parent fb873b7 commit 011e2a9

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
name: Build
6+
strategy:
7+
fail-fast: false
8+
matrix:
9+
jdk: [ 8 ]
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Set up JDK ${{ matrix.jdk }}
14+
uses: actions/setup-java@v4
15+
with:
16+
java-version: ${{ matrix.jdk }}
17+
distribution: liberica
18+
cache: maven
19+
- name: Build with Maven
20+
run: mvn -V -B package -DskipTests
21+
- name: Run Tests
22+
run: mvn -V -B verify

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Build Version Maven Plugin
22

3+
[![Build Status](https://github.com/evolvedbinary/buildversion-maven-plugin/actions/workflows/ci.yml/badge.svg)](https://github.com/evolvedbinary/buildversion-maven-plugin/actions/workflows/ci.yml)
34
[![Java 8](https://img.shields.io/badge/java-8-blue.svg)](https://adoptopenjdk.net/)
45
[![License](https://img.shields.io/badge/license-EPL%201.0-blue.svg)](https://www.eclipse.org/legal/epl/epl-v10.html)
56

0 commit comments

Comments
 (0)