Skip to content

actions test

actions test #1

Workflow file for this run

name: Test and build 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@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'temurin'
- name: Build mohist 1.12.2
run: |
chmod +x ./gradlew
./gradlew clean build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
with:
name: AcademyCraft
path: build/libs/