This repository has been archived by the owner on Dec 21, 2024. It is now read-only.
Fix Inventory Close #52
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: Test and build mohist 1.12.2 | |
on: | |
push: | |
branches: [ 1.12.2 ] | |
pull_request: | |
branches: [ 1.12.2 ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 8 | |
distribution: 'temurin' | |
- name: Setup mohist 1.12.2 | |
run: | | |
chmod +x ./gradlew | |
./gradlew setup | |
- name: Build mohist 1.12.2 | |
run: | | |
chmod +x ./gradlew | |
./gradlew installerJar | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Mohist-1.12.2-server | |
path: projects/mohist/build/libs/*-server.jar |