- Migrate package from me.itskronx11 to net.blockhost across all modules - Add MIT LICENSE and rewrite README with badges, features, and build instructions - Add GitHub Actions CI (build.yml) and release automation (release.yml) - Migrate MC module build files from Groovy to Kotlin DSL (build.gradle.kts) - Update fabric.mod.json with proper metadata, contact info, and java >=21 dep - Remove unused fabricApi configureDataGeneration block - Add .editorconfig and root gradle.properties for shared config - Set GitHub repo description Co-Authored-By: Claude Opus 4.6 <[email protected]>
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
distribution: temurin
|
|
java-version: 21
|
|
|
|
- uses: gradle/actions/setup-gradle@v4
|
|
|
|
- run: ./gradlew build
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: anarchymod-mc-1.21.8
|
|
path: mc-1.21.8/build/libs/anarchymod-mc-1.21.8-*.jar
|
|
if-no-files-found: error
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: anarchymod-mc-1.21.9
|
|
path: mc-1.21.9/build/libs/anarchymod-mc-1.21.9-*.jar
|
|
if-no-files-found: error
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: anarchymod-mc-1.21.10
|
|
path: mc-1.21.10/build/libs/anarchymod-mc-1.21.10-*.jar
|
|
if-no-files-found: error
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: anarchymod-mc-1.21.11
|
|
path: mc-1.21.11/build/libs/anarchymod-mc-1.21.11-*.jar
|
|
if-no-files-found: error
|