Update build configuration and increment mod version to 1.0.2

This commit is contained in:
2024-12-15 19:04:33 -06:00
parent ab3d75abcf
commit 1a886a568d
4 changed files with 38 additions and 3 deletions

35
.github/workflows/build_jar.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: Build and Upload JAR
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifact
path: build/libs/*.jar