Skip to content

Update deps

Update deps #644

Workflow file for this run

name: Railcraft CI
on:
push:
branches:
- 1.21.x
pull_request:
branches:
- 1.21.x
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 21
- name: Validate wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: wrapper
cache-read-only: false
- name: Build
run: ./gradlew build
- name: Test
run: ./gradlew runGameTestServer
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Railcraft-1.21.x-GitHub
path: build/libs