Skip to content

catch NPE when a disconnection occurs early #3

catch NPE when a disconnection occurs early

catch NPE when a disconnection occurs early #3

Workflow file for this run

name: Build
on:
push:
branches:
- "master"
jobs:
build:
name: Build
runs-on: ubuntu-latest
container:
image: gradle:8-jdk17
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: 'gradle'
- name: Gradle Build
run: gradle shadowJar
- name: Modrinth publishing
run: gradle modrinth
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}