Skip to content

Mark entity schedulers as nullable #7

Mark entity schedulers as nullable

Mark entity schedulers as nullable #7

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/cache@v1
with:
path: ./build
key: ${{ runner.os }}-build-files-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-build-files-
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build publish --no-daemon
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ./build/*.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Remove jars before caching
run: rm ./build/*.jar