Skip to content

chore(release): 2.3.0 #1

chore(release): 2.3.0

chore(release): 2.3.0 #1

Workflow file for this run

name: 'Build'
on:
workflow_call:
push:
branches:
- 'multi/*'
permissions:
contents: read
statuses: write
jobs:
build:
name: 'Build'
runs-on: ubuntu-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