moonleay
f762e18b1f
All checks were successful
Build Gradle project / build-gradle-project (push) Successful in 2m41s
Signed-off-by: moonleay <contact@moonleay.net>
25 lines
644 B
YAML
25 lines
644 B
YAML
name: Build Gradle project
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
build-gradle-project:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: apt update
|
|
run: apt update
|
|
- name: apt upgrade
|
|
run: apt upgrade -y
|
|
- name: install prerequisits
|
|
run: apt install openjdk-17-jdk ca-certificates-java ssl-cert openssl ca-certificates -y
|
|
- name: Checkout project sources
|
|
uses: actions/checkout@v3
|
|
- name: Setup Gradle
|
|
uses: gradle/gradle-build-action@v2
|
|
- name: Run build with Gradle Wrapper
|
|
run: ./gradlew shadowJar
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: lilJudd.jar
|
|
path: build/libs/
|