blog-software-java/.forgejo/workflows/build.yml

19 lines
517 B
YAML
Raw Permalink Normal View History

2025-01-14 14:26:40 +01:00
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:
path: target/blog-software-java-*.jar