Skip to content

Merge pull request #24 from The-Fireplace-Minecraft-Mods/dependabot/g… #226

Merge pull request #24 from The-Fireplace-Minecraft-Mods/dependabot/g…

Merge pull request #24 from The-Fireplace-Minecraft-Mods/dependabot/g… #226

Workflow file for this run

# This workflow will build a Java project with Gradle
name: Build mod and create an artifact
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build --no-daemon
- name: Upload artifact JAR
uses: actions/upload-artifact@v4
with:
name: Simply-Caterpillar_JAR
path: build/libs/*.jar