Adds an example github action that confirms the mod is building and working.

This commit is contained in:
AzureDoom
2026-06-08 14:02:34 -04:00
parent 3a5f053940
commit b7a10d305b

22
.github/workflows/gradle.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Verifying Everything Compiles
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
java-version: '25'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
- name: Verify build is not broken
run: ./gradlew build