Fix bug #2297
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
# 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-20.04 | |
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 |