Skip to content

Fixed gradle

Fixed gradle #5

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Checkout code
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Run Shadow Jar
run: ./gradlew shadowJar
- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: packaged-jar
path: build/libs/*.jar