parent
f3ca31698e
commit
288f6d118b
1 changed files with 19 additions and 0 deletions
19
.forgejo/workflows/build.yml
Normal file
19
.forgejo/workflows/build.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
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
|
Loading…
Reference in a new issue