respawn event to update players dimension #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- "**" | |
paths: | |
- "gradle/wrapper/**" | |
- ".github/workflows/build.yaml" | |
- "**.java" | |
- "**.json" | |
- "*.gradle" | |
- "gradle.properties" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Validate Gradle Wrapper | |
uses: gradle/actions/wrapper-validation@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Make gradle wrapper executable | |
run: chmod +x ./gradlew | |
- name: Build | |
run: ./gradlew build | |
- run: rm ./build/libs/cooptweaks-*-all.jar | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Artifacts | |
path: build/libs/ |