Initial commit: JS-powered Minestom server with hot-reloading and Gitea Action
Some checks failed
Build JStom / build (push) Has been cancelled
Some checks failed
Build JStom / build (push) Has been cancelled
This commit is contained in:
32
.gitea/workflows/build.yaml
Normal file
32
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Build JStom
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 25
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '25-ea'
|
||||
distribution: 'temurin'
|
||||
# Falls back to other distributions if Temurin 25 isn't available,
|
||||
# or Oracle OpenJDK if specific EA builds are needed.
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
Reference in New Issue
Block a user