setup forgejo CI

This commit is contained in:
Stachelbeere1248 2025-04-05 16:33:38 +02:00
parent 219b6cb131
commit 96cc4eff13
Signed by: Stachelbeere1248
SSH key fingerprint: SHA256:IozEKdw2dB8TZxkpPdMxcWSoWTIMwoLaCcZJ1AJnY2o

View file

@ -0,0 +1,30 @@
on:
push:
branches: [master]
jobs:
build:
runs-on: docker
container:
image: eclipse-temurin:21-jdk
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
- name: capture build artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
with:
name: app-jar
path: |
build/libs/*.jar
!build/libs/*-sources.jar
!build/libs/*-javadoc.jar