Skip to content

Merge pull request #225 from M0diis/resolve-218 #296

Merge pull request #225 from M0diis/resolve-218

Merge pull request #225 from M0diis/resolve-218 #296

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