lilJudd/.forgejo/workflows/action.yml

26 lines
644 B
YAML
Raw Normal View History

2023-08-12 12:12:10 +00:00
name: Build Gradle project
on:
push:
jobs:
2023-08-12 12:12:10 +00:00
build-gradle-project:
runs-on: ubuntu-latest
steps:
- name: apt update
2023-08-18 06:55:04 +00:00
run: apt update
- name: apt upgrade
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
path: build/libs/