realweather/.forgejo/workflows/build.yml
Minecon724 c09d46f9e7
Some checks failed
/ deploy (push) Failing after 9s
Add workflow
2024-11-01 19:02:28 +01:00

20 lines
No EOL
537 B
YAML

on: [push]
jobs:
deploy:
runs-on: docker
container: debian:bookworm
steps:
- name: Prepare for installation
run: apt update
- name: Install JDK
run: apt install -y openjdk-21-jdk-headless maven
- name: Clone repository
run: git clone https://git.m724.eu/Minecon724/realweather.git .
- name: Build
run: mvn clean package
- name: Upload artifacts
uses: https://github.com/actions/upload-artifact@v3
with:
path: target/realweather-*.jar