mirror of
https://github.com/barkeser2002/Tenet.git
synced 2026-09-25 10:05:58 +03:00
36 lines
854 B
YAML
36 lines
854 B
YAML
# This workflow will build a Java project with Gradle
|
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
|
|
|
name: Test and build mohist 1.16.5
|
|
|
|
on:
|
|
push:
|
|
branches: [ 1.16.5 ]
|
|
pull_request:
|
|
branches: [ 1.16.5 ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 11
|
|
- name: Setup mohist 1.16.5
|
|
run: |
|
|
chmod +x ./gradlew
|
|
./gradlew setup
|
|
- name: Build mohist 1.16.5
|
|
run: |
|
|
chmod +x ./gradlew
|
|
./gradlew mohistJar
|
|
- name: Upload a Build Artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: Mohist-1.16.5-server
|
|
path: projects/mohist/build/libs/*-server.jar
|