Yatopia/.github/workflows/build.yml
2020-03-25 16:12:41 +01:00

34 lines
746 B
YAML

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1.3.0
with:
java-version: 11
- name: Build YAPFA
run: |
git submodule init
git submodule update --init --recursive
git config --global user.email "ci@github.com"
git config --global user.name "Github CI"
yapfaDir=`pwd`
./patchPaper.sh
cd Tuinity
./tuinity jar
cd $yapfaDir
./yapfa patch
./yapfa build
./yapfa paperclip
- name: Upload Artifact
uses: actions/upload-artifact@v2-preview
with:
name: YAPFA
path: yapfa-paperclip.jar