minecart-speed/.github/workflows/build.yml
Balazs Toldi 8ae9de6c5e
All checks were successful
Build and upload mods / packwizInstall (push) Successful in 6m31s
Switch docker image again
2024-12-17 16:05:18 +01:00

22 lines
No EOL
536 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/*.jar