2023-08-12 12:12:10 +00:00
|
|
|
name: Build Gradle project
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
|
2023-08-04 19:17:15 +00:00
|
|
|
jobs:
|
2023-08-12 12:12:10 +00:00
|
|
|
build-gradle-project:
|
2023-08-12 12:06:37 +00:00
|
|
|
runs-on: ubuntu-latest
|
2023-09-17 11:24:33 +00:00
|
|
|
steps:
|
|
|
|
- name: apt update
|
2023-08-18 06:55:04 +00:00
|
|
|
run: apt update
|
2023-09-17 11:24:33 +00:00
|
|
|
- name: apt upgrade
|
2023-09-17 11:22:34 +00:00
|
|
|
run: apt upgrade -y
|
2023-08-18 06:56:42 +00:00
|
|
|
- name: install prerequisits
|
2023-08-18 09:16:47 +00:00
|
|
|
run: apt install openjdk-17-jdk ca-certificates-java ssl-cert openssl ca-certificates -y
|
2023-08-12 12:12:10 +00:00
|
|
|
- name: Checkout project sources
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup Gradle
|
|
|
|
uses: gradle/gradle-build-action@v2
|
2023-08-18 09:40:51 +00:00
|
|
|
- name: Run build with Gradle Wrapper
|
|
|
|
run: ./gradlew shadowJar
|
2023-08-18 09:24:48 +00:00
|
|
|
- uses: actions/upload-artifact@v3
|
2023-08-18 09:25:30 +00:00
|
|
|
with:
|
2023-08-18 09:44:43 +00:00
|
|
|
name: lilJudd.jar
|
2023-09-17 11:22:34 +00:00
|
|
|
path: build/libs/
|