24 lines
No EOL
616 B
YAML
24 lines
No EOL
616 B
YAML
on: [push]
|
|
jobs:
|
|
deploy:
|
|
runs-on: docker
|
|
container: debian:sid
|
|
steps:
|
|
- name: Prepare for installation
|
|
run: apt update
|
|
|
|
- name: Install JDK and other deps
|
|
run: apt install --no-install-recommends -y openjdk-21-jdk-headless git nodejs
|
|
|
|
- name: Clone repository
|
|
run: git clone https://git.m724.eu/Minecon724/projetc3.git .
|
|
|
|
- name: Build
|
|
run: mvn clean package
|
|
|
|
- name: Upload artifacts
|
|
uses: https://github.com/actions/upload-artifact@v3
|
|
with:
|
|
path: |
|
|
target/*-client.jar
|
|
target/*-server.jar |