Skip to content

Commit 18c9f2f

Browse files
committed
Add CI
1 parent 760eeda commit 18c9f2f

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
- name: Checkout Source Code
13+
uses: actions/checkout@v5
14+
- name: Set up JDK ${{ matrix.jdk }}
15+
uses: actions/setup-java@v5
16+
with:
17+
java-version: ${{ matrix.jdk }}
18+
distribution: liberica
19+
cache: maven
20+
- name: Build with Maven
21+
run: mvn -V -B package -DskipTests
22+
- name: Run Tests
23+
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)