Build / build (push) Failing after 27s
Co-Authored-By: Claude Sonnet 5 <[email protected]>
30 lines
589 B
YAML
30 lines
589 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master", "main" ]
|
|
pull_request:
|
|
branches: [ "master", "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up JDK 21
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: temurin
|
|
java-version: '21'
|
|
|
|
- name: Build with Gradle
|
|
run: ./gradlew clean build
|
|
|
|
- name: Upload plugin jar
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: BlockParty
|
|
path: build/libs/BlockParty-*.jar
|