minecart-speed/.github/workflows/build.yml
Balazs Toldi e20f95b38f
All checks were successful
Build and upload mods / packwizInstall (push) Successful in 4m58s
Change buildpath
2024-12-17 16:13:29 +01:00

22 lines
562 B
YAML

name: Build and upload mods
on: push
jobs:
packwizInstall:
runs-on: ubuntu-latest
container:
image: openjdk:21-jdk-slim-bullseye
steps:
- name: Install Node and Git
run: apt-get update && apt-get install -y nodejs git
- name: Checkout code
uses: actions/checkout@v3
- name: Run Gradle jar
run: ./gradlew jar
- name: Upload mod artifact
if: success()
uses: actions/upload-artifact@v3
with:
name: mods
path: build/libs/minecartspeed-1.0-SNAPSHOT.jar