Skip to content

Merge pull request #221 from BlitzOffline/fix/1.20.x-support #286

Merge pull request #221 from BlitzOffline/fix/1.20.x-support

Merge pull request #221 from BlitzOffline/fix/1.20.x-support #286

Workflow file for this run

name: Gradle build
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/[email protected]
with:
arguments: shadowJar
- name: Upload jarfiles
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v3
with:
path: plugin/build/libs/*.jar