Skip to content
This repository has been archived by the owner on Dec 14, 2024. It is now read-only.

add basic check & builds #39

add basic check & builds

add basic check & builds #39

Workflow file for this run

name: build
on:
workflow_dispatch:
push:
braches:
- main
- 1.20.0-1
- 1.20.2
- 1.20.4
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: cachix/install-nix-action@v27
- name: Flake Check
run: nix flake check
build:
runs-on: ubuntu-latest
strategy:
matrix:
loader:
- fabric
- neoforge
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'openjdk'
java-version: 21
# - name: Setup Gradle
# uses: gradle/actions/setup-gradle@v3
- name: Build
run: ./gradlew ${{ matrix.loader }}:build