Skip to content

feat(mcbot): add local bot execution support #10

feat(mcbot): add local bot execution support

feat(mcbot): add local bot execution support #10

Workflow file for this run

name: 'Build'
on:
workflow_call:
push:
branches:
- 'multi/*'
permissions:
contents: read
statuses: write
jobs:
build:
name: 'Build'
runs-on: windows-latest
strategy:
matrix:
loader: [ 'forge', 'fabric' ]
steps:
- name: 'Checkout repository'
uses: actions/checkout@v4
with:
fetch-depth: 100
fetch-tags: true
- name: 'Set up JDK 17'
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: 'Build ${{ matrix.loader }} with Gradle'
uses: gradle/gradle-build-action@v2
with:
arguments: :${{ matrix.loader }}:build
cache-read-only: false
- name: 'Upload ${{ matrix.loader }} artifacts'
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: 'Artifacts-${{ matrix.loader }}'
path: ${{ matrix.loader }}/build/libs/*.jar