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

Commit

Permalink
add basic check & builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshmllow committed Jul 7, 2024
1 parent 2e19714 commit e29a688
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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

0 comments on commit e29a688

Please sign in to comment.