tweaks724/.forgejo/workflows/build.yml

18 lines
558 B
YAML
Raw Normal View History

2024-11-16 12:37:12 +01:00
on: [push]
jobs:
deploy:
runs-on: docker
container: debian:sid
steps:
- name: Prepare for installation
run: apt update
- name: Install JDK
run: apt install --no-install-recommends -y openjdk-21-jdk-headless maven git nodejs
- name: Clone repository
2024-11-28 18:43:37 +01:00
run: git clone https://git.m724.eu/Minecon724/tweaks724.git .
2024-11-16 12:37:12 +01:00
- name: Build
run: mvn clean package
- name: Upload artifacts
uses: https://github.com/actions/upload-artifact@v3
with:
2024-11-28 18:43:37 +01:00
path: target/tweaks-*.jar