blog-software-java/.forgejo/workflows/build.yml
Minecon724 6fcb8e088b
All checks were successful
/ build (push) Successful in 35s
Improvements
2025-01-19 10:15:42 +01:00

21 lines
No EOL
578 B
YAML

on: [push]
jobs:
build:
runs-on: docker
container: debian:sid
steps:
- name: Install JDK and other deps
run: apt update && apt install --no-install-recommends -y openjdk-21-jdk-headless maven git nodejs curl zstd
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Build
run: mvn package
- name: Upload artifacts
uses: https://github.com/actions/upload-artifact@v3
with:
name: built-jar
path: target/blog-software-java-*.jar
if-no-files-found: error