Use forgejo actions instead of drone.
All checks were successful
/ maven-build (push) Successful in 48s
All checks were successful
/ maven-build (push) Successful in 48s
This commit is contained in:
parent
2f9c3d6d50
commit
86d6d08929
2 changed files with 22 additions and 38 deletions
22
.forgejo/workflows/maven-build.yaml
Normal file
22
.forgejo/workflows/maven-build.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
maven-build:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: node:25-trixie
|
||||
steps:
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 25
|
||||
- name: Install maven
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y maven
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
- name: Run maven build
|
||||
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||
- name: Run tests
|
||||
run: mvn test -B
|
||||
Loading…
Add table
Add a link
Reference in a new issue