Yatopia/.github/workflows/build.yml

28 lines
556 B
YAML
Raw Normal View History

2020-02-26 17:29:12 +01:00
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2020-03-21 17:32:08 +01:00
- name: Set up JDK 11
uses: actions/setup-java@v1.3.0
with:
java-version: 11
2020-02-26 17:29:12 +01:00
- name: Build YAPFA
run: |
git submodule init
2020-03-21 17:29:35 +01:00
git submodule update --init --recursive
2020-02-26 17:40:00 +01:00
git config --global user.email "ci@github.com"
git config --global user.name "Github CI"
2020-03-21 17:29:35 +01:00
yapfaDir=`pwd`
cd Tuinity
./tuinity jar
cd $yapfaDir
2020-02-26 17:29:12 +01:00
./yapfa patch
./yapfa build