Changes
Some checks failed
Kotlin Maven Build / build (push) Failing after 6m22s

+ Trying a new build attempt

    -- Files
     + .gitea/workflows/build.yml
This commit is contained in:
rattatwinko
2025-05-09 16:04:41 +02:00
parent c6ee292a8b
commit 70fbcf913b

View File

@@ -0,0 +1,32 @@
name: Kotlin Maven Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2-
- name: Build with Maven
run: mvn -B clean package --file pom.xml
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: motd-plugin
path: target/*.jar