Skip to content

Initial commit

Initial commit #1

name: Build Gradle project
on:
push:
branches:
- main
jobs:
build-gradle-project:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v4
- name: Setup JDK 17 for x64
uses: actions/setup-java@v4
with:
java-version: 17
distribution: corretto
architecture: x64
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Run shadowJar with Gradle Wrapper
run: ./gradlew shadowJar
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: build/libs