Woodpecker CI

This commit is contained in:
Piotr Dec 2024-03-14 21:23:35 +01:00
parent a54bb59857
commit 212a881f8e
Signed by: stawros
GPG key ID: F89F27AD8F881A91
2 changed files with 5 additions and 26 deletions

View file

@ -1,26 +0,0 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "master", "dev" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml

5
.woodpecker/maven.yml Normal file
View file

@ -0,0 +1,5 @@
steps:
- name: test
image: maven:3.9.6-eclipse-temurin-17-alpine
commands:
- mvn -B verify