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