MapReflectionAPI/.forgejo/workflows/build.yaml
SBDeveloper 3141068249
Some checks failed
Java CI / Build (push) Failing after 46s
Fix CI
2025-03-27 20:25:07 +01:00

29 lines
No EOL
658 B
YAML

name: Java CI
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: https://gitea.com/actions/checkout@v4
- name: Set up JDK 21
uses: https://gitea.com/actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Set up Maven
uses: https://gitea.com/actions/setup-maven@v5
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload build artifacts
uses: https://gitea.com/actions/upload-artifact@v4
with:
name: MapReflectionAPI
path: target