realweather/.forgejo/workflows/build.yml

20 lines
567 B
YAML
Raw Normal View History

2024-11-01 19:09:12 +01:00
on: [push]
jobs:
deploy:
runs-on: docker
container: debian:sid
steps:
- name: Prepare for installation
run: apt update
- name: Install JDK
2024-11-01 20:21:39 +01:00
run: apt install --no-install-recommends -y openjdk-21-jdk-headless maven git nodejs
2024-11-01 19:09:12 +01:00
- 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