Skip to content

build(gradle): Fix MCProtocolLib dependency (#28) #23

build(gradle): Fix MCProtocolLib dependency (#28)

build(gradle): Fix MCProtocolLib dependency (#28) #23

Workflow file for this run

name: Build Action
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: "8"
distribution: "zulu"
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build project
run: |
./gradlew shadowJar
./gradlew build
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: MinecraftBOT
path: ./build/libs/*.jar
if-no-files-found: error