2023-08-12 11:47:55 +00:00
|
|
|
name: Build Gradle project
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
|
2023-08-04 19:17:52 +00:00
|
|
|
jobs:
|
2023-08-12 11:47:55 +00:00
|
|
|
build-gradle-project:
|
2024-01-20 17:32:00 +00:00
|
|
|
runs-on: docker
|
2023-09-17 11:24:33 +00:00
|
|
|
steps:
|
|
|
|
- name: apt update
|
2023-08-12 11:47:55 +00:00
|
|
|
run: apt update
|
|
|
|
- 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
|
2023-09-17 11:22:34 +00:00
|
|
|
path: build/libs/
|