Skip to content

workflow

workflow #3

Workflow file for this run

name: build-artifacts
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
platform: [forge, neoforge, fabric]
steps:
- uses: actions/checkout@v4
- name: Setup JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build artifacts
run: ./gradlew clean build
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: build-artifacts-${{ matrix.platform }}
path: ${{ matrix.platform }}/build/libs